Giáo trình Vi điều khiển Phụ lục 3 – Tóm tắt tập lệnh Phụ lục 3: TÓM TẮT TẬP LỆNH Mnemonic Description Byte Oscillator Period 1 2 1 2 1 2 1 2 1 2 1 2 1 1 2 1 1 2 2 1 1 1 1 1 1 2 1 2 2 3 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 24 48 48 12 12 12 12 12 12 24 Trang 191 ARITHMETIC OPERATIONS ADD A,Rn Add register to Accumulator ADD A,direct Add direct byte to Accumulator ADD A,@Ri Add. | Giáo trình Vi điều khiển Phụ lục 3 - Tóm tắt tập lệnh Phụ lục 3 TÓM TẮT TẬP LỆNH Mnemonic Description Byte Oscillator Period ARITHMETIC OPERATIONS ADD A Rn Add register to Accumulator 1 12 ADD A direct Add direct byte to Accumulator 2 12 ADD A @Ri Add indirect RAM to Accumulator 1 12 ADD A data Add immediate data to Accumulator 2 12 ADDC A Rn Add register to Accumulator with Carry 1 12 ADDC A direct Add direct byte to Accumulator with Carry 2 12 ADDC A @Ri Add indirect RAM to Accumulator with Carry 1 12 ADDC A data Add immediate data to Acc with Carry 2 12 SUBB A Rn Subtract Register from Acc with Borrow 1 12 SUBB A direct Subtract direct byte from Acc with Borrow 2 12 SUBB A @Ri Subtract indirect RAM from ACC with Borrow 1 12 SUBB A data Subtract immediate data from Acc with borrow 2 12 INC A Increment Accumulator 1 12 INC Rn Increment register 1 12 INC direct Increment direct byte 2 12 INC @Ri Increment direct RAM 1 12 DEC A Decrement Accumulator 1 12 DEC Rn Decrement Register 2 12 DEC direct Decrement direct byte 2 12 DEC @Ri Decrement indirect RAM 1 12 INC DPTR Increment Data Pointer 1 24 MUL AB Multiply A B 1 48 DIV AB Divide A by B 1 48 DA A Decimal Adjust Accumulator 1 12 LOGICAL OPERATIONS ANL A Rn AND Register to Accumulator 1 12 ANL A direct AND direct byte to Accumulator 2 12 ANL A @Ri AND indirect RAM to Accumulator 1 12 ANL A data AND immediate data to Accumulator 2 12 ANL direct A AND Accumulator to direct byte 2 12 ANL direct data AND immediate data to direct byte 3 24 Phạm Hùng Kim Khánh Trang 191 Giáo trình Vi điều khiển Phụ lục 3 - Tóm tắt tập lệnh ORL A Rn OR register to Accumulator 1 12 ORL A direct OR direct byte to Accumulator 2 12 ORL A @Ri OR indirect RAM to Accumulator 1 12 ORL A data OR immediate data to Accumulator 2 12 ORL direct A OR Accumulator to direct byte 2 12 ORL direct data OR immediate data to direct byte 3 24 XRL A Rn Exclusive-OR register to Accumulator 1 12 XRL A direct Exclusive-OR direct byte to Accumulator 2 12 XRL A @Ri .