From f9a3b62c0e5b0a302b9026cf2bece397bb9dbd1f Mon Sep 17 00:00:00 2001 From: Astatin Date: Thu, 14 Nov 2024 22:41:35 +0900 Subject: Add debug instruction --- instructions.go | 8 ++++++++ 1 file changed, 8 insertions(+) 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 } -- cgit v1.2.3-70-g09d2