Changeset 97 for Deliverables/D4.1/ASM.mli
 Timestamp:
 Sep 21, 2010, 1:51:59 PM (9 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

Deliverables/D4.1/ASM.mli
r92 r97 28 28 type instruction = 29 29 (* arithmetic operations *) 30 31  ADDC of acc * [ reg  direct  indirect  data ]32  SUBB of acc * [ reg  direct  indirect  data ]33  INC of [ acc  reg  direct  indirect  dptr ]34  DEC of [ acc  reg  direct  indirect ]35  MUL of acc * b36  DIV of acc * b37  DA of acc30 [ `ADD of acc * [ reg  direct  indirect  data ] 31  `ADDC of acc * [ reg  direct  indirect  data ] 32  `SUBB of acc * [ reg  direct  indirect  data ] 33  `INC of [ acc  reg  direct  indirect  dptr ] 34  `DEC of [ acc  reg  direct  indirect ] 35  `MUL of acc * b 36  `DIV of acc * b 37  `DA of acc 38 38 39 39 (* logical operations *) 40  ANL of40  `ANL of 41 41 (acc * [ reg  direct  indirect  data ], 42 42 direct * [ acc  data ], 43 43 carry * [ bit  nbit]) union3 44  ORL of44  `ORL of 45 45 (acc * [ reg  data  direct  indirect ], 46 46 direct * [ acc  data ], 47 47 carry * [ bit  nbit]) union3 48  XRL of48  `XRL of 49 49 (acc * [ data  reg  direct  indirect ], 50 50 direct * [ acc  data ]) union2 51  CLR of [ acc  carry  bit ]52  CPL of [ acc  carry  bit ]53  RL of acc54  RLC of acc55  RR of acc56  RRC of acc57  SWAP of acc51  `CLR of [ acc  carry  bit ] 52  `CPL of [ acc  carry  bit ] 53  `RL of acc 54  `RLC of acc 55  `RR of acc 56  `RRC of acc 57  `SWAP of acc 58 58 59 59 (* data transfer *) 60  MOV of60  `MOV of 61 61 (acc * [ reg  direct  indirect  data ], 62 62 [ reg  indirect ] * [ acc  direct  data ], … … 66 66 bit * carry 67 67 ) union6 68  MOVC of acc * [ acc_dptr  acc_pc ]69  MOVX of (acc * [ ext_indirect  ext_indirect_dptr ],68  `MOVC of acc * [ acc_dptr  acc_pc ] 69  `MOVX of (acc * [ ext_indirect  ext_indirect_dptr ], 70 70 [ ext_indirect  ext_indirect_dptr ] * acc) union2 71  SETB of [ carry  bit ]72  PUSH of direct73  POP of direct74  XCH of acc * [ reg  direct  indirect ]75  XCHD of acc * indirect71  `SETB of [ carry  bit ] 72  `PUSH of direct 73  `POP of direct 74  `XCH of acc * [ reg  direct  indirect ] 75  `XCHD of acc * indirect 76 76 77 77 (* program branching *) 78  JC of rel 79  JNC of rel 80  JB of bit * rel 81  JNB of bit * rel 82  JBC of bit * rel 83  ACALL of addr11 84  LCALL of addr16 85  RET 86  RETI 87  AJMP of addr11 88  LJMP of addr16 89  SJMP of rel 90  JMP of indirect_dptr 91  JZ of rel 92  JNZ of rel 93  CJNE of (acc * [ direct  data ], [ reg  indirect ] * data) union2 * rel 94  DJNZ of [ reg  direct ] * rel 95  NOP 78  `JC of rel 79  `JNC of rel 80  `JB of bit * rel 81  `JNB of bit * rel 82  `JBC of bit * rel 83  `ACALL of addr11 84  `LCALL of addr16 85  `RET 86  `RETI 87  `AJMP of addr11 88  `LJMP of addr16 89  `SJMP of rel 90  `JMP of indirect_dptr 91  `JZ of rel 92  `JNZ of rel 93  `CJNE of (acc * [ direct  data ], [ reg  indirect ] * data) union2 * rel 94  `DJNZ of [ reg  direct ] * rel 95  `NOP ] 96 97 type labelled_instruction = 98 [ instruction 99  `Label of string 100  `Cost of string ]
Note: See TracChangeset
for help on using the changeset viewer.