Jump to content

Recommended Posts

In spoiler for convience

 

? that part does not matter

0XXXXXXX YYYYYYYY         32bit write of YYYYYYYY to location: (XXXXXXX + ‘offset’)

1XXXXXXX ????YYYY         16bit write of YYYY to location:(XXXXXXX + ‘offset’)

2XXXXXXX ??????YY         8bit write of YY to location:(XXXXXXX + ‘offset’)

3XXXXXXX YYYYYYYY         32bit ‘If less-than’ instruction If the value at (XXXXXXX or ‘offset’ when address is 0) < YYYYYYYY then execute the following block of instructions. Conditional instructions can be nested.

4XXXXXXX YYYYYYYY         32bit ‘If greater-than’ instruction. If the value at (XXXXXXX or ‘offset’ when address is 0) > YYYYYYYY then execute the following block of instructions. Conditional instructions can be nested.

5XXXXXXX YYYYYYYY        32bit ‘If equal’ instruction. If the value at (XXXXXXX or ‘offset’ when address is 0) == YYYYYYYY then execute the following block of instructions. Conditional instructions can be nested.

6XXXXXXX YYYYYYYY         32bit ‘If not equal’ instruction. If the value at (XXXXXXX or ‘offset’ when address is 0) != YYYYYYYY then execute the following block of instructions. Conditional instructions can be nested.

7XXXXXXX ZZZZYYYY         16bit ‘If less-than’ instruction. If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ < YYYY then execute the following block of instructions. Conditional instructions can be nested.

8XXXXXXX ZZZZYYYY         16bit ‘If greater-than’ instruction. If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ > YYYY then execute the following block of instructions. Conditional instructions can be nested.

9XXXXXXX ZZZZYYYY         16bit ‘If equal’ instruction. If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ == YYYY then execute the following block of instructions. Conditional instructions can be nested.

AXXXXXXX ZZZZYYYY         16bit ‘If not equal’ instruction. If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ != YYYY then execute the following block of instructions. Conditional instructions can be nested.

BXXXXXXX ????????         Load offset register. Loads the offset register with the data at address (XXXXXXX + ‘offset’) Used to perform pointer relative operations.

C??????? NNNNNNNN         Repeat operation. Repeats a block of codes for NNNNNNNN times. The block can include conditional instructions. Repeats blocks cannot contain further repeats.

D0?????? ????????         End-if instruction. Ends the most recent conditional block.

D1?????? ????????         End-repeat instruction. Ends the current repeat block. Also implicitly ends any conditional instructions inside the repeat block.

D2?????? ????????         End-code instruction. Ends the current repeat block (if any), then End-if's any further outstanding conditional statements. Also sets ‘offset’ and ‘stored’ to zero.

D3?????? YYYYYYYY         Set offset register. Loads the offset register with the value YYYYYYYY.

D4?????? YYYYYYYY         Add to ‘stored’. Adds the value YYYYYYYY to the ‘stored’ register.

D5?????? YYYYYYYY         Set ‘stored’. Loads the value YYYYYYYY into the ‘stored’ register.

D6?????? XXXXXXXX         32bit store and increment. Writes all 32 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Postincrements ‘offset’ by 4.

D7?????? XXXXXXXX         16bit store and increment. Writes bottom 16 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Post-increments ‘offset’ by 2.

D8?????? XXXXXXXX         8bit store and increment. Writes bottom 8 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Post-increments ‘offset’ by 1.

D9?????? XXXXXXXX         32bit load "stored" from address. Loads ‘stored’ with the 32bit value at address (XXXXXXXX + ‘offset’)

DA?????? XXXXXXXX         16bit load ‘stored’ from address. Loads ‘stored’ with the 16bit value at address (XXXXXXXX + ‘offset’)

DB?????? XXXXXXXX         8bit load "stored" from address. Loads ‘stored’ with the 8bit value at address (XXXXXXXX + ‘offset’)

DC?????? XXXXXXXX         Increase value in offset register by amount XXXXXXXX

EXXXXXXX NNNNNNNN
VVVVVVVV VVVVVVVV         Direct memory write. Writes NNNNNNNN bytes from the list of values VVVVVVVV to the addresses starting at (XXXXXXX + ‘offset’)

FXXXXXXX NNNNNNNN         Memory copy. Copies NNNNNNNN bytes from addresses starting at the ‘offset’ register to addresses starting at XXXXXXXX.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...