>a a> !p @p !p>r p+ p2+ p++ p! pc! p@ pc@
>a ( x -- )
Specific Flash Forth
Write to the A register.
a> ( -- x )
Specific Flash Forth
Read from the A register.
Example:
1234 >a a> . \ display 1234
!p ( addr -- )
Specific Flash Forth
Store addr to p(ointer) register.
@p
Specific Flash Forth
Fetch the p register to the stack.
hex c000 !p @p . \ display c000
!p>r ( addr -- )
Specific Flash Forth
COMPILE_ONLY
Push contents of p to return stack and store addr to p
r>p ( -- )
Specific Flash Forth
COMPILE_ONLY
Pop from return stack to p register.
p+ ( -- )
Specific Flash Forth
Increment P register by one.
p2+ ( -- )
Specific Flash Forth
Add 2 to P register.
p++ ( n -- )
Specific Flash Forth
Add n to the p register.
p! ( x -- )
Specific Flash Forth
Store x to the location pointed by the p register.
pc! ( c -- )
Specific Flash Forth
Store c to the location pointed by the p register.
p@ ( -- x )
Specific Flash Forth
Fetch the cell pointed by the p register.
pc@ ( -- c )
Specific Flash Forth
Fetch the char pointed by the p register.