44 lines
993 B
Text
44 lines
993 B
Text
|
This is the documentation for the PlutoISA assembly.
|
||
|
|
||
|
Copyright (c) 2024 Patrick_Pluto.
|
||
|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
|
||
|
|
||
|
Legend:
|
||
|
|
||
|
V: Value
|
||
|
R: ROM Address
|
||
|
C: Register/Cache Address
|
||
|
M: Memory Address
|
||
|
|
||
|
|
||
|
|
||
|
Keywords:
|
||
|
|
||
|
00 - GET - get from rom
|
||
|
LOAD DESTINATION SOURCE
|
||
|
LOAD M00 V00
|
||
|
|
||
|
01 - LOAD - load from memory
|
||
|
LOAD DESTINATION SOURCE
|
||
|
LOAD C00 M00
|
||
|
|
||
|
02 - STORE - store in memory
|
||
|
STORE SOURCE DESTINATION
|
||
|
STORE C00 M00
|
||
|
|
||
|
03 - ADD - addition
|
||
|
ADD RESULT SOURCE1 SOURCE2
|
||
|
ADD C02 C00 C01
|
||
|
|
||
|
04 - SUB - subtaction
|
||
|
SUB RESULT SOURCE1 SOURCE2
|
||
|
SUB C02 C00 C01
|
||
|
|
||
|
05 - JMP - jump
|
||
|
JMP DESTINATION
|
||
|
JMP R00
|
||
|
|
||
|
06 - JEQ - jump if equals
|
||
|
JMP DESTINATION SOURCE1 SOURCE2
|
||
|
JMP R00 R01 C00
|