hp-saturn/dbg_const.v
Raphael Jacquot cbfbe4eb3f renumber debug opcodes
add add_cst and sub_cst alu opcodes
port pointer math to use ALU
make A[ab]x more readable
2019-02-11 15:36:51 +01:00

33 lines
No EOL
1,010 B
Verilog

`ifndef _DBG_CONST
`define _DBG_CONST
`define DBG_OP_RTNSXM 16'h0001
`define DBG_OP_RTN 16'h0002
`define DBG_OP_RTNSC 16'h0003
`define DBG_OP_RTNCC 16'h0004
`define DBG_OP_SETHEX 16'h0005
`define DBG_OP_SETDEC 16'h0006
`define DBG_OP_RSTK_C 16'h0007
`define DBG_OP_C_RSTK 16'h0008
`define DBG_OP_CLRST 16'h0009
`define DBG_OP_C_ST 16'h000A
`define DBG_OP_ST_C 16'h000B
`define DBG_OP_CSTEX 16'h000C
`define DBG_OP_INC 16'h000D
`define DBG_OP_DEC 16'h000E
`define DBG_OP_AND 16'h000F
`define DBG_OP_OR 16'h0010
`define DBG_OP_RTI 16'h0011
`define DBG_OP_COPY_FULL 16'h0012
`define DEB_OP_COPY 16'h0013
`define DBG_OP_EXCH_FULL 16'h0014
`define DBG_OP_EXCH 16'h0015
`define DBG_OP_MEM_IN 16'h0016
`define DBG_OP_MEM_OUT 16'h0017
`define DBG_OP_ADD_CONST 16'h0018
`define DBG_OP_SUB_CONST 16'h0019
`define DBG_OP_LOAD_IMM 16'h001A
`endif