### A good answer might be:

Probably the problem is with differences in small integer arithmetic between the two systems. You will have to carefully look at variable declarations in the program and will have to study the arithmetic. To make the Mac version identical to the Windows version, you may have to write parts of it in assembly.

# End of the Chapter

You have reached the end of this chapter. Click on a blue subject to go to where it was discussed. To get back here, click on the "back arrow" button of your browser.

- Loading a byte into a register.
- Storing a byte from a register.
- The .space assembler directive.
- How SPIM displays the data section.
- Loading a halfword into a register.
- Storing a halfword from a register.
- Byte and halfword arithmetic.

Go to Table of Contents
You have reached the end of the chapter.