Assignment 1 Assembly Language and System Programming DUE: 23:59 October 18, 2006 (-20% for each day late) • examples, Write an assembly program to do an extended addition of two integers of any size. For x1 = A02B000190008400h x2 = 800187008000A904h sum = 1202C870210012D04h • use “INCLUDE data1.inc” in your source program. The “data1.inc” file contains the declaration of the two input variables (x1, x2) and the output variable (sum). Note that the integers are stored in little-endian order in the memory. To help the TAs test your program, please DO NOT declare your own input data. Instead, • You may assume that the two integers are unsigned and always have the same length. • However, DO NOT use the stack processing instructions and the conditional processing and branching instructions. Use the DumpMem, WriteHexB, or WriteHex procedure (described in textbook, Sections 5.3.1 and 5.3.2) in Irvine32.inc to display the sum. You are allowed to use the...
Keep up to date with our latest news