Created
February 2, 2018 19:07
-
-
Save ThomasTheSpaceFox/0e623cb5b799cdf988705230a39b851d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this is a short example of how offsetlen acts like a mask. | |
setreg1|--------- | |
#set mem20 to an arbitrary value to read | |
setreg2|+0+---++0 | |
IOwrite2|>mem20 | |
#dump register 1 in its full negative state | |
dumpreg1 | |
#set offset len to radix offset 1, trit length 1 | |
offsetlen|off,1,1 | |
#read memory and dump new state of register 1 | |
IOread1|>mem20 | |
dumpreg1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment