Registers
IRL, PC & SR are not addressable Size
Instructions default to word if no size specified |
Conditions
Function call and jumps
Both version of "b" can use labels or relative values Load and store instructions
Assume r1 = 0x4000 [value] indicates a data bus address |
Arithmetic Instructions
assume r0 = 1, r1 = 2, r2 = 3 Pseudo-ops
push and pop do not automatically increment/decrement SP. |
Cheatography
https://cheatography.com
HEPIA-RISC Assembler Cheat Sheet (DRAFT) by Krrag
HEPIA-RISC assembler
This is a draft cheat sheet. It is a work in progress and is not finished yet.