Instruction Definition and 36 Threads
-
Comp Sci Instruction scheduling in multiple-issue RISCV-processor
Hello! (this problem considers a multiple-issue RISCV-processor) My attempt at a solution is identical to the solution key (screenshoted below), but I scheduled the sw instruction in slot 1 and the bne instruction in slot 2: Since it is not given in the question that slot 1 and slot 2 are...- bremenfallturm
- Thread
- Instruction Scheduling
- Replies: 7
- Forum: Engineering and Comp Sci Homework Help
-
C
Comp Sci ARM mov instruction source constraints
- Crystal037
- Thread
- Arm Constraints Instruction Source
- Replies: 8
- Forum: Engineering and Comp Sci Homework Help
-
M
Suggestions for videos teaching engineering concepts
I hope to one day help engineering students by having a wealth of videos that cover the "weed-out" courses (in the first two years of engineering curriculum). Does anyone have any suggestions on how I can make these videos be the best that they can be? I plan to do narrated powerpoints, but I...- MitchellRosenthal256
- Thread
- Concepts Education Engineering Instruction Suggestions Teaching Videos
- Replies: 2
- Forum: STEM Educators and Teaching
-
Discover the Power of Peer Instruction for Intro E&M Classes
I've been paying attention to this teaching methodology for a few years (even before I became an educator), and over the past couple of years, have started to incorporate parts of its technique into my classes. But this year, I've decided to go into it head on and going all in for my intro E&M...- ZapperZ
- Thread
- Instruction
- Replies: 6
- Forum: STEM Educators and Teaching
-
Studying Where to start physics instruction?
Due to a myriad of unfortunate circumstances, I'm now schooling myself online. I'm currently a Senior in high school, and I intend to graduate before April. So here I am just finishing up calculus, and having just realized that I can study both multivariable calc/Linear algebra at the same time...- Ethan Singer
- Thread
- Instruction Physics
- Replies: 1
- Forum: STEM Academic Advising
-
R
Why Does MIPS Show a Negative Result for Large Factorials?
when I try to compile the MIPS instruction in order to compute the factorial of n number? i get the following error in the console as: Enter the factorial number: 20 factorial of given number: -2102132736 The output which I am getting as negative integer of a given factorial instead of...- rictor
- Thread
- Instruction Mips Programming
- Replies: 2
- Forum: General Engineering
-
Question about JAL instruction in datapath
Homework Statement In this problem, you will modify the single-cycle datapath we built up in class to implement JAL instruction. The MIPS jump and link instruction, JAL, is used to support procedure calls by jumping to jump address (similar to j ) and saving the address of the following...- SuperSusanoo
- Thread
- Instruction
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
Understanding Instruction Cycle?
A basic instruction cycle consists of these 5 stages. 1. IF - Instruction Fetch 2. RD - Instruction Decode and Register Read 3. EX - Execute 4. MA - Memory Access 5. WB - Write Back I understood the meaning of all the stages accept 4th MA (Memory access), what's the significance of this stage.- 22990atinesh
- Thread
- Computer engineering Cycle Instruction
- Replies: 7
- Forum: Programming and Computer Science
-
Transfer data from memory to register / register to memory?
hello I need some help. I created one example to understand some basic component ram memory A accumulator 4bit R1 resistor 4 bit ( R1 is temporary data storage register ) Register memory address bus - 2 bits (RA0,1); Register memory data bus - 4 bits (RD0~3); Register memory read enable...- vead
- Thread
- Data Instruction Memory
- Replies: 5
- Forum: Programming and Computer Science
-
Why Does Math Instruction Consist of Just Doing Problems?
I start back at community college this coming Monday and have been reading reviews of professors at Rate My Professor. One common complaint that I see with so many math instructors on there is that they merely do practice problems on the board and that's all that math instruction consists of...- kyphysics
- Thread
- Instruction
- Replies: 6
- Forum: STEM Academic Advising
-
Fetching and executing instruction?
Instruction should be fetch , decode and execute. ''Instruction fetch from memory'' I have read this statement many times but don't know which memory ROM or RAM memory ?- vead
- Thread
- Instruction
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
M
Python Python problem with instruction open()
I am fiddling with python v2.7.5,i am using Pyscripter version 2.5.3.0 x86 to write my program and i do not know how to deal with this problem when i run my program: PROBLEM: ___________________________________________ IOError:[Errno 2] No such file or directory:'words.txt' |...- mynick
- Thread
- Instruction Python
- Replies: 5
- Forum: Programming and Computer Science
-
N
Why do my programs keep coming up as NTVDM CPU illegal instruction?
I am using Windows XP Version 2002 and I am using freecommandLinetools as a compiler for the c++ language. Every time I write a program it always says it is an NTVDM CPU illegal instruction and it doesn't work, what's wrong with my programs? Here is an example: #include <iostream> using...- nst.john
- Thread
- cpu Instruction Programs
- Replies: 1
- Forum: Programming and Computer Science
-
MHB Peer Instruction: A Revolutionary Teaching Method
Hey guys! I'm not sure if you are familiar with the Peer Instruction method (I wasn't), and after watching the following video it has blown my mind. What do you guys think of it? Cheers! (Clapping)- Fantini
- Thread
- Instruction
- Replies: 2
- Forum: General Discussion
-
Is PUSH A Instruction Valid in 8085?
Is PUSH A Instruction Valid in 8085 I get this doubt because PUSH and POP always acts on register pairs but only register pairs available in 8085 are BC DE HL there is no register to pair with A so ?- reddvoid
- Thread
- Instruction Push
- Replies: 8
- Forum: Electrical Engineering
-
MHB Addressing Discalculia in Math Instruction: Tips and Strategies
I have a friend who is taking a couple of Math courses this Spring. I have referred here to MHB (and I'll be helping her directly myself.) She has a condition that is called "discalculia." It is a variant on dislexia in which math problems become very difficult. She has problems staying on...- topsquark
- Thread
- Ideas Instruction
- Replies: 2
- Forum: STEM Educators and Teaching
-
Instruction Encoding [assembly]
Homework Statement A 1-address computer is one whose instruction can contain at most one operand address. MARIE is an example of such a computer. Typically each instruction is stored as a single word in the memory. Assume the following machine details. (i) A word contains n bits, and k...- twoski
- Thread
- Assembly Instruction
- Replies: 5
- Forum: Engineering and Comp Sci Homework Help
-
N
Assembly JC Instruction for Converting Input to Integer with Error Handling
I am getting input from user and convert to int . if input is not valid(has invalid chars etc) i need to ask user to re enter the number . ;get number jc displayErroMsg ; If value is not valid then display msg and ask user to re enter the value. ;I don't know where I need to put...- naja
- Thread
- Assembly Instruction
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
J
MIPS Assembly Code - Convert instruction code to binary
Homework Statement Write a single line MIPS assembly code as an input through the SPIM simulator console and the program will output a 32 bit MIPS machine code through the console. I'm using PCSpim to write the code. An example, I input this instruction in the console. addi...- JSGhost
- Thread
- Assembly Binary Code Convert Instruction Mips
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
S
Illegal Instruction Error in Mac terminal
I am running a mac os x 10.7 system I am writing a fortran code which compiles, however, whenever I run my code (./file.out) all I receive in return is the message "Illegal Instruction". I have tried messing with my code and I continue to receive this message. Any help with this would be...- skockler8
- Thread
- Error Instruction Mac
- Replies: 2
- Forum: Programming and Computer Science
-
N
Swansea University puts up toilet instruction posters
It's Friday night, I'm bored and too fed up with everything to do anything constructive. As such: "Swansea University puts up toilet instruction posters". http://www.bbc.co.uk/news/uk-wales-south-west-wales-16983788 The picture is epic.- nobahar
- Thread
- Instruction University
- Replies: 15
- Forum: General Discussion
-
P
How Far Should the Opposite Vehicle Be to Safely Overtake the Truck?
Homework Statement You are on the highway traveling at 110 Km / Hr and are trying to overtake a big truck in front of you (travelling at 100Km/hr). From the opposite direction at 100Km/hour, another car is coming. Assume that you need 50 metres to overtake the truck. Approximately how far...- physicswonder
- Thread
- Format Instruction
- Replies: 6
- Forum: Introductory Physics Homework Help
-
S
Processor instruction prefixes (number of additional clock cycles)
More specifically, this question is oriented towards the Intel 8086. I have this manual that lists the number of clock cycles the 8086 requires to execute each of its instructions, prefixes, et cetera. My question is about repeat string instructions. The REP prefix is listed as 2 clocks...- SMD1990
- Thread
- Clock Cycles Instruction Processor
- Replies: 1
- Forum: Computing and Technology
-
Z
Find Instruction Manuals for Oscilloscopes, Vacuum Pumps and More
Stuff like osciolloscopes, vacuum pumps, plumbing/tubes/joints, soldering guns, etc. that it would be nice, cause it takes some time to find all these manuals, and filter the information... *instruction manuals (in title)- zheng89120
- Thread
- Instruction Pumps Vacuum
- Replies: 1
- Forum: General Engineering
-
K
How can I understand whether an instruction is a fetch or read or
How can I understand whether an instruction is a fetch or read or write instruction?..Please explain with examples of microprocessor 8085 instruction. How can I count the no. of T states required by a particular 8085 microprocessor instruction? Thank you- kuchun
- Thread
- Instruction
- Replies: 4
- Forum: Computing and Technology
-
X
Help with converting machine language instruction into MIPS assembly instruction
I think it's easy, but I don't get it. Given the machine language instruction 0x00221820. What MIPS assembly instruction does it represent? I know the solution. It's add $3, $1, $2 I just don't know how to get there. I know I have to convert the numbers into binary first. So you have...- XodoX
- Thread
- Assembly Instruction Language Machine Mips
- Replies: 9
- Forum: Programming and Computer Science
-
P
Understanding the TestAndSet() Instruction and its Effects
I understand that the purpose of the TestAndSet() instruction is to test and contents of the register and set new values. (returning the old value). I have a question regarding this instruction: function TestAndSet(boolean lock) { boolean initial = lock lock = true return...- Peon666
- Thread
- Effects Instruction
- Replies: 7
- Forum: Programming and Computer Science
-
B
Looking for an electrodynamics text that includes vector calculus instruction
Hello everyone, I wonder if a textbook like the one I described in the subject line exists - most of the classical electrodynamics textbooks I've looked at assume you already have a solid background in vector calculus. I'm trying to do a self-study in electrodynamics, and while I have taken...- bitrex
- Thread
- Calculus Electrodynamics Instruction Text Vector Vector calculus
- Replies: 7
- Forum: Science and Math Textbooks
-
Changes in Intro Physics Instruction
This http://www.nytimes.com/2009/01/13/us/13physics.html?hp" is describing how, at many leading institutions in the US, there are revolutionary changes being made in how introductory physics courses are being taught to students, especially to non-physics majors. Zz.- ZapperZ
- Thread
- Instruction Intro Intro physics Physics
- Replies: 5
- Forum: STEM Educators and Teaching
-
J
Check PIC Chip Input Switches State
when switches are connected to the inputs of a PIC chip and if we want to see whether any of the switches have changed state. What single instruction can be used ?- jyothika
- Thread
- Instruction
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
ATH: Solving Differential Equations for B(x) with Constraints and a Constant K
This is not homework, these equations are constraints I've encountered in some GR work. But I'm hopeless with differential equations and I have two I need to solve. Even after reading some instructive texts, I still can't do it. \frac{dB(x)}{dx} = \frac{B(x)}{x} - \frac{1}{x}...- Mentz114
- Thread
- Instruction
- Replies: 7
- Forum: Differential Equations
-
C
What are the approximate costs for operations on common x86 chips?
As a first step to optimizing code, I like to think about faster ways to do things. Algorithmic improvements are far better than minute improvements to code, or even use of inline assembly, in general. But most optimizations beyond common subroutine elimination and its ilk substitute...- CRGreathouse
- Thread
- Clock Cycles Instruction Per
- Replies: 3
- Forum: Computing and Technology
-
M
Cycles per instruction question, why different CPI when I change for loop order?
Hello everyone, this is a computer science/computer engineering problem... I had the following file that multiplies 2 matrices together, with 100 elements and puts it into a 3rd 100 element matrix. Well I used Simple Scalar to anlayize the CPI generated by the code and it also records the miss...- mr_coffee
- Thread
- Change Cycles Instruction Loop Per
- Replies: 13
- Forum: Engineering and Comp Sci Homework Help
-
E
Pros and cons of MIPS relative to instruction set choices
could someone help me with this, my ideas are sort of not precise give pros and cons of MIPS relative to these instruction set choices: 1. supporting indexed addressing mode 2. supporting only word-sized access to memory 1. --- dunno, sure if it all were immediate, it would be a mess...- EvLer
- Thread
- Choices Instruction Mips Relative Set
- Replies: 1
- Forum: Electrical Engineering
-
What are the dangers of Al-gebra and the use of weapons of math instruction?
Ha, I got this email today from a friend. It's good for a chuckle.- Cyrus
- Thread
- Instruction
- Replies: 15
- Forum: General Discussion
-
What causes the different instruction offset between gdb/linux and debug/dos?
I notice with gdb/linux each instruction is offset by 5 while debug/dos each instruction is offset by 3. What is linux doing that dos isn't?- dduardo
- Thread
- Instruction
- Replies: 2
- Forum: Computing and Technology