Pavel Zholkover <paulz...@gmail.com> once said: > I have no idea what is causing it to die, I've tried adding a bunch of > INT $3 to see how far in the flow I can get, but all I get this: > > 9vx panic: unknown trap/intr: 0x203 > aborting, to dump core. > > for an INT $3 just before > CALL SI // fn()
This happens because the linker outputs the two bytes { 0xCD, 0x03 } for an INT $3 instruction but libvx32 only sends a VXTRAP_BREAKPOINT to 9vx if it sees an INT3 instruction (a single 0xCC byte). Try using a 'BYTE $0xCC' instead. Anthony