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
need some project ideas

Cache components The cache sub-system may be divided into 3 functional blocks: Tag RAM, SRAM and theCache Controller. In real designs, these blocks can be implemented  by multi

Queue Operation :   RQ/CT0, RQ/G1-Request/Grant:   These pins are utilized by other local bus masters, in themaximum mode, to force the processor to release the loca

MLIL: Unsigned Multiplication Byte or Word: This instruction multiplies an unsigned byte or word by the contents of the AL. The unsigned byte or word can be in any one of the gene

wap proram for bthe addition of two 3*3 matrix

Write a MIPS/SPIM assembly language program that prints the smallest and largest values found in a non-empty table of N word-sized integers. The address of the first entry in your

Interrupt Priority Management The interrupt priority management logic indicated in given figure can be implemented in several ways. It does not required to be present in system

XOR: Logical Exclusive OR: The XOR operation is again carried out in a similar way to the AND and OR operation. The constraint over operands are also similar. The XOR operation pr

Cache controller The cache controller is the mind of the cache.  Its responsibilities include:  performing the  snarfs and snoops, updating the  TRAM  and SRAM and implementing

NOT : Logical Invert: The NOT instruction complements (inverts) the contents of an a memory location or operand register bit by bit. The instance are as following: Example :