This commit is contained in:
~d6 2024-08-01 23:33:19 -04:00
parent a6551d1af6
commit a6e0b734d5
1 changed files with 3 additions and 3 deletions

View File

@ -96,9 +96,9 @@ The break instruction is used to end a vector call and return control to the vir
The "immediate jump" instructions are produced by the assembler. They interpret the next 2 bytes of the ROM as a relative address (\fIaddr\fP) and have the following effects:
\fBJMI\fP ( -- ) jump to \fIaddr\fP unconditionally
\fBJCI\fP ( bool^ -- ) jump to \fIaddr\fP if \fIbool\fP is non-zero
\fBJSI\fP ( -- [cur] ) jump to \fIaddr\fP saving the current address (\fIcur\fP) on the return stack
\fBJMI\fP ( -- ) jump to \fIaddr\fP unconditionally
\fBJCI\fP ( bool^ -- ) jump to \fIaddr\fP if \fIbool\fP is non-zero
\fBJSI\fP ( -- [cur*] ) jump to \fIaddr\fP saving the current address (\fIcur\fP) on the return stack
(The instruction pointer will be moved forward 2 bytes, past the relative address.)