corrected some typos, thanks marshall!
This commit is contained in:
parent
6e6a6aef77
commit
843b3dd38e
|
@ -118,7 +118,7 @@ short mode is covered on day 2, and return and keep mode are covered on day 5.
|
|||
* EQU: push 01 down into the stack if the top two elements of the stack are equal, 00 otherwise ( a b -- a==b )
|
||||
* NEQ: push 01 down into the stack if the top two elements of the stack are not equal, 00 otherwise ( a b -- a!=b )
|
||||
* GTH: push 01 down into the stack if the first element is greater than the second, 00 otherwise ( a b -- a>b )
|
||||
* LTH: push 01 down into the stack if the first element is less than the second, 00 otherwise ( a b -- a>b )
|
||||
* LTH: push 01 down into the stack if the first element is less than the second, 00 otherwise ( a b -- a<b )
|
||||
|
||||
* AND: perform a bitwise AND with the top two elements of the stack, and push down the result ( a b -- a&b )
|
||||
* ORA: perform a bitwise OR with the top two elements of the stack, and push down the result ( a b -- a|b )
|
||||
|
|
|
@ -157,7 +157,7 @@ the following will push down into the stack a flag that indicates if the key byt
|
|||
```
|
||||
.Controller/key DEI ( read key )
|
||||
#2f GTH ( is it greater than 2f? push flag into the stack )
|
||||
.Controller/key DEI ( ready key )
|
||||
.Controller/key DEI ( read key )
|
||||
#3a LTH ( is it less than 3a? push flag into the stack )
|
||||
AND ( apply an AND to the flags in the stack, and push the result in the stack )
|
||||
```
|
||||
|
@ -702,7 +702,7 @@ these are all the uxntal instructions that we discussed today!
|
|||
* EQU: push 01 down into the stack if the top two elements of the stack are equal, 00 otherwise ( a b -- a==b )
|
||||
* NEQ: push 01 down into the stack if the top two elements of the stack are not equal, 00 otherwise ( a b -- a!=b )
|
||||
* GTH: push 01 down into the stack if the first element is greater than the second, 00 otherwise ( a b -- a>b )
|
||||
* LTH: push 01 down into the stack if the first element is less than the second, 00 otherwise ( a b -- a>b )
|
||||
* LTH: push 01 down into the stack if the first element is less than the second, 00 otherwise ( a b -- a<b )
|
||||
|
||||
## bitwise logic
|
||||
|
||||
|
|
Loading…
Reference in New Issue