41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
= TIS-100 =
|
|
|
|
TIS-100 is an assembly programming game. The following are notes that I have
|
|
taken regarding the game. I do not plan to use these, only to type them to help
|
|
commit to memory
|
|
|
|
== Important ==
|
|
|
|
== Registers ==
|
|
|
|
* ACC - accumulator
|
|
- Is the implicit source/destination of many operations
|
|
* BAK - Bakup
|
|
- Non-addressable, used as tmp for ACC.
|
|
* NIL - zero register
|
|
- Stores zero
|
|
* LEFT, RIGHT, UP, DOWN
|
|
- Corespond to the four directions around the node
|
|
* ANY - Any destination
|
|
- Send the result to any destination that accepts it first. Reading from this
|
|
register will read in the first result given on any port
|
|
* LAST - Last port used
|
|
|
|
== Instruction Set ==
|
|
|
|
NOTE: Instruction set generally follows AT&T syntax standard of
|
|
|
|
<SRC>, <DEST>
|
|
|
|
* Labels
|
|
- These operate the same as standard labels. Labels can have an instruction
|
|
on the same line
|
|
* NOP
|
|
- No operation.
|
|
* MOV
|
|
- Moves from SRC to DEST register/memory address
|
|
* SWP
|
|
- The values in ACC and BAK are switched
|
|
* SAV
|
|
- The value in ACC is written to BAK
|