diff options
author | Astatin <[email protected]> | 2024-11-14 22:41:35 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2024-11-14 22:41:35 +0900 |
commit | f9a3b62c0e5b0a302b9026cf2bece397bb9dbd1f (patch) | |
tree | 147dd48894b7f431fa754967f3e09a117b73d76b | |
parent | 3d2af841e601d960d2ed9c7b081cd957fa58e494 (diff) |
Add debug instruction
-rw-r--r-- | instructions.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/instructions.go b/instructions.go index 46a0923..59daa3a 100644 --- a/instructions.go +++ b/instructions.go @@ -487,6 +487,14 @@ func InstructionSetNew() InstructionSet { }, }, } + result["DBG"] = []InstructionParams{ + { + Types: []ParamType{}, + Assembler: func(_ uint16, args []uint16) ([]byte, error) { + return []byte{0b11010011}, nil + }, + }, + } return result } |