kjm@motsj1.UUCP (Kevin Meyer) (05/19/86)
> I am using a 68000 based SBC for the VMEbus to debug prototype hardware for > this bus. To debug the interrupting capablilities of my hardware, I need > to stop the 68000 and wait for an interrupt (level=4). > > This works: > 0010AC MOVE #2300,SR > 0010B0 JMP $10B0 > > This doesn't: > 0010AC STOP #2300 If you look at the next word of instruction (in the binary code) past the stop opcode, it will tell you the constant that is to be put into the status register. Since you have a "$" in front of the address to which you wish to jump indicating a hex address, I should think you need a "$" in front of the hex constant you wish to put into the status register. Looking at the next word of instruction after the STOP opcode would tell you. The default decimal value for 2300 would be encoded as hex $8FC. The STOP instruction will cause a priviledge violation exception if the immediate data placed into the SR clears the S-bit.