Say we have the following:
MOVE.L #$1234ABCD,D0
MOVE.L #$45670012,D1
MULS D0,D1
What will be the value of D1? According to a mc68000 simulator, it will be FFFA146A. According to the book, the two lowest order words of each register will be multiplied and the result will be stored as a longword. Therefore, it will be 0xABCD * 0x0012 = 0xC146A. According to this rule, D1 should be 000C146A. I notice the 146A values are the same as in the simulator, but where does the A come from, and the Fs? Is the simulator wrong?
Thank you