add accessor for the s instruction postfix (affecting status flag)

This commit is contained in:
Torsten Ruger 2014-04-17 12:54:37 +03:00
parent 3431411e63
commit f38c94d8e9

View File

@ -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