arithmrtic operation exercise assempley HELP!, Assembly Language

Open notepad and enter the code for a program that calculates the following arithmetic expression:
x = a + b + c - d - e + f
The operands a, b, c, d, e, f, and x should be declared as words. Give random values to a, b, c, d, e, and f in order to test the program. Load the data onto registers, perform the arithmetic operations and store the result to the memory location reserved for x.
.data
#enter your data here

.text
main: #enter your code here

addi $v0, $0, 10 #exit program
syscall

Posted Date: 10/25/2012 2:05:04 PM | Location : United States







Related Discussions:- arithmrtic operation exercise assempley HELP!, Assignment Help, Ask Question on arithmrtic operation exercise assempley HELP!, Get Answer, Expert's Help, arithmrtic operation exercise assempley HELP! Discussions

Write discussion on arithmrtic operation exercise assempley HELP!
Your posts are moderated
Related Questions
DEC : A powerful new Alpha 64 bit RISC computer chip was introduced in the year 1977, as new VAX (Virtual Address Extension) Computer. The VAX was 32 bit computer line based on

Develop a suitable schematic circuit diagram of your system showing the interface between the PIC16F84 and the existing mains light & switch, including 5V derivation from the 240V

The definitions of the bits in ICWI are following: Always set to the value 1. It directs the received byte to ICWI as oppose to OCW2 or OCW3. Which also utilize the even addr

AAS: ASCII Adjust AL After Subtraction AAS instruction correct the result in the AL register after subtracting operation of two unpacked ASCII operands. The result is in unpacked

Register Organization of 8086 8086  has  a great  set  of registers  containing  special  purpose and general  purpose  registers.  All the 8086 resisters are 16-bit registers.

Program: Write a program to perform addition of a series of 8-bit numbers. The series have 100 (numbers). Solution : In the first program, we have been implemented the add


Overview of Intel Pro-Pentium : The 2 chief players in the PC CPU market are Motorola and Intel.  Intel has enjoyed incredible success with its processors since the early 1980

Pointer and Index Registers The pointers contain offset within the specific segments. The pointers BP, IP and SP generally containoffsets within thedata, code and stack segment

SBB: Subtract  with Borrow  :- The subtract with borrow instruction subtracts the source operand and the borrow flag (CF) which might reflect the result of the past calculations,