TB Instructions
User Manual:
Open the PDF directly: View PDF .
Page Count: 1
Download | |
Open PDF In Browser | View PDF |
Table 1 Word 1 HEX Instruction Description Function ZERO CARRY - - 2nd Word 2 register Y OPCODE 15 14 13 12 11 10 9 8 0 0 0 0 0 0 0 0 0 register X Immediate Data (kk/pp/aaa) 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 0 0 0 0 0 0 0 0 0 none 0 NOP Do Nothing 1 ADD rX, kk Add register rX with literal kk rX <— rX + kk ? ? 2 1 0 0 0 0 0 1 0 2 0 0 0 0 x x x x kk 2 ADD rX, rY Add register rX with register rY rX <— rX + rY ? ? 4 0 0 0 0 0 1 0 0 4 y y y y x x x x none 3 ADDCY rx, kk Add register rX with literal kk with CARRY rX <— rX + kk + CARRY ? ? 6 1 0 0 0 0 1 1 0 6 0 0 0 0 x x x x kk 4 ADDCY rX, rY Add register rX with register rY with CARRY rX <— rX + rY + CARRY ? ? 8 0 0 0 0 1 0 0 0 8 y y y y x x x x none 5 AND rX, kk Bitwise AND register rX with literal kk rX <— rX & kk ? ? A 1 0 0 0 1 0 1 0 10 0 0 0 0 x x x x kk 6 AND rX, rY Bitwise AND register rX with register rY rX <— rX & rY ? ? C 0 0 0 0 1 1 0 0 12 y y y y x x x x none 7 CALL aaa Unconditionally call subroutine at aaa TOS <— PC; PC <— aaa - - E 1 0 0 0 1 1 1 0 14 0 0 0 0 0 0 0 0 aaa 8 CALLC aaa If CARRY call subroutine at aaa if CARRY TOS <— PC; PC <— aaa - - 10 1 0 0 1 0 0 0 0 16 0 0 0 0 0 0 0 0 aaa 9 CALLNC aaa If NOT CARRY call subroutine at aaa if !CARRY TOS <— PC; PC <— aaa - - 12 1 0 0 1 0 0 1 0 18 0 0 0 0 0 0 0 0 aaa 10 CALLZ aaa If ZERO call subroutine at aaa if ZERO TOS <— PC; PC <— aaa - - 14 1 0 0 1 0 1 0 0 20 0 0 0 0 0 0 0 0 aaa 11 CALLNZ aaa If NOT ZERO call subroutine at aaa if !ZERO TOS <— PC; PC <— aaa - - 16 1 0 0 1 0 1 1 0 22 0 0 0 0 0 0 0 0 aaa 12 COMP rX, kk Compare register rX with literal kk. If rX== kk then ZERO =1; if rx
Source Exif Data:File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.3 Linearized : No Page Count : 1 Title : TB_Instructions Producer : Mac OS X 10.13.1 Quartz PDFContext Creator : Numbers Create Date : 2017:12:02 17:05:13Z Modify Date : 2017:12:02 17:05:13ZEXIF Metadata provided by EXIF.tools