1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 22:18:07 +11:00
collapseos/blk/052

8 lines
278 B
Plaintext
Raw Normal View History

2020-05-17 23:30:36 +10:00
: _oor ." arg out of range: " .X SPC ." PC: " PC .X NL ABORT ;
: _r8c DUP 7 > IF _oor THEN ;
: _r32c DUP 31 > IF _oor THEN ;
: _r16+c _r32c DUP 16 < IF _oor THEN ;
: _r64c DUP 63 > IF _oor THEN ;
2020-05-17 23:30:36 +10:00
: _r256c DUP 255 > IF _oor THEN ;
2020-05-17 22:57:23 +10:00
: _Rdp ( op rd -- op', place Rd ) 4 LSHIFT OR ;