Implemented G instruction
This commit is contained in:
@@ -91,6 +91,7 @@ CR |`( -- )` |In the command mode, output a line break an
|
||||
`J`|`( rel -- )` |**J**ump: increase or decrease PC according to the relative value (treated as signed, from -32768 to 32767)
|
||||
`I`|`( cond rel -- ) ` |Pop relative value and condition. **I**f the condition value is not zero, `J` to the relative value
|
||||
`X`|`( -- pc )` |Locate e**X**ecution point: push PC+1 value onto the main stack
|
||||
`G`|`( -- gpd_start )` |Locate **G**PD area start: push its flat offset onto the main stack
|
||||
`>`|`( a b -- a>b )` |Push 1 onto the stack if the second popped value is greater than the first, 0 otherwise
|
||||
`<`|`( a b -- a>b )` |Push 1 onto the stack if the second popped value is less than the first, 0 otherwise
|
||||
`=`|`( a b -- a==b )` |Push 1 onto the stack if the two popped values are equal, 0 otherwise
|
||||
|
||||
Reference in New Issue
Block a user