Added remaining logical commands and Direct Hardware Access
Added rshift , lshift , not , .inc , .dec
Format :
rshift flag operand shift_amount output
lshift flag operand shift_amount output
not flag operand
.inc flag operand
.dec flag operand
Flags Supported
.data : Represents a defined variable (defined using .define)
.result : Represents Primary 16-Bit Accumulator , Doesn't need operand
.xword : Represents Secondary 16-Bit Accumulator , Doesn't need operand
Outputs
.result : Saves in Primary Accumulator
.xword : Saves in Secondary Accumulator
symbol : Saves in user defined variable
Behavior
not , .inc , .dec : Autosave the result in the operand itself
Added .hwport
Format : .hwport flag port operand
Flags Supported :
.read : Read from port and save in a defined variable
.write : Write the date of a defined variable to a port
.wrdata : Write an immediate value to a port
Ports
port1 : Represents Hardware Port 1
port2 : Represents Hardware Port 2
port3 : Represents Hardware Port 3
port0 : Represents Hardware Port 0
Example of .hwport in use
Example of .dec in use