add accessor for the s instruction postfix (affecting status flag)
This commit is contained in:
parent
3431411e63
commit
f38c94d8e9
@ -33,6 +33,10 @@ module Asm
|
||||
end
|
||||
attr_reader :opcode, :args
|
||||
|
||||
def affect_status
|
||||
@s
|
||||
end
|
||||
|
||||
OPC_DATA_PROCESSING = 0b00
|
||||
OPC_MEMORY_ACCESS = 0b01
|
||||
OPC_STACK = 0b10
|
||||
|
Loading…
Reference in New Issue
Block a user