Page 1 of 1

Write an assembly language program for the 68000 microprocessor that does the following: 1. Move 2 long words of data in

Posted: Sun May 15, 2022 8:15 pm
by answerhappygod
Write An Assembly Language Program For The 68000 Microprocessor That Does The Following 1 Move 2 Long Words Of Data In 1
Write An Assembly Language Program For The 68000 Microprocessor That Does The Following 1 Move 2 Long Words Of Data In 1 (58.47 KiB) Viewed 36 times
Write an assembly language program for the 68000 microprocessor that does the following: 1. Move 2 long words of data into 2 data registers of your choice. 1 of the long word data must be a signed negative number and the remaining, a positive signed number. 2. Add the two long words together and store it's result directly into address $002500. State the addressing mode used. 3. Access the result and subtract the lower word of the result with the negative signed number in step 1. Store the results in an empty data register. 4. Multiply the results with the lower word of the positive signed number in step 1. Store the results at the address after the results of step 2 is stored. 5. Execute 3 logic instructions of your choice on the two resulting long words that you obtained in step 2 and step 4. Store your results in any two available data registers. 6. Compile and execute your program. Take note of changes of the status register and program counter for each instruction execution in your program.