You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bit of code will not run correctly past the trap instruction:
move.l #mt,$80
trap #0
mt: .. debugging error happens here and stops with error "Exception has occurred: 10 Bus error"
On a real Amiga if I assemble this with say Devpac (any version), or ArgAsm, heck even seka it works and executes properly. But not using vscode-amiga-assembly plugin for Visual Studio Code. Btw this is used as an easy way to eg. go to supervisor mode without the OS.
This bit of code will not run correctly past the trap instruction:
move.l #mt,$80
trap #0
mt: .. debugging error happens here and stops with error "Exception has occurred: 10 Bus error"
On a real Amiga if I assemble this with say Devpac (any version), or ArgAsm, heck even seka it works and executes properly. But not using vscode-amiga-assembly plugin for Visual Studio Code. Btw this is used as an easy way to eg. go to supervisor mode without the OS.
Please see https://eab.abime.net/showthread.php?t=57653 and https://wiki.amigaspirit.hu/index.php/Amiga_Machine_Language_(Chapter_8) for how it's properly used on the Amiga.
The text was updated successfully, but these errors were encountered: