Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M68000: Implement BKPT opcode #6437

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion Ghidra/Processors/68000/data/languages/68000.sinc
Expand Up @@ -329,6 +329,7 @@ attach values quick [ 8 1 2 3 4 5 6 7 ];
define pcodeop kfactor;
define pcodeop ftrap;
define pcodeop __m68k_trap;
define pcodeop __m68k_bkpt;
define pcodeop __m68k_trapv;
define pcodeop reset;
define pcodeop saveFPUStateFrame;
Expand Down Expand Up @@ -1115,7 +1116,7 @@ with : extGUARD=1 {
resbitflags(tmp, f_wd-1);
}

:bkpt "#"op02 is opbig=0x48 & op67=1 & op5=0 & op34=1 & op02 unimpl
:bkpt "#"^op02 is opbig=0x48 & op67=1 & op5=0 & op34=1 & op02 { breakpoint:1 = op02; __m68k_bkpt(breakpoint); }

:bra.b addr8 is opbig=0x60 & addr8 { goto addr8; }
:bra.w addr16 is opbig=0x60 & d8base=0; addr16 { goto addr16; }
Expand Down