NEC 78K/0 Series Manual de usuario

Busca en linea o descarga Manual de usuario para No NEC 78K/0 Series. NEC 78K/0 Series User's Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
User’s Manual
Printed in Japan
©
78K/0 Series
Instructions
Document No. U12326EJ4V0UM00 (4th edition)
Date Published October 2001 N CP(K)
1995
Common to 78K/0 Series
Vista de pagina 0
1 2 3 4 5 6 ... 128 129

Indice de contenidos

Pagina 1 - 78K/0 Series

User’s ManualPrinted in Japan©78K/0 SeriesInstructionsDocument No. U12326EJ4V0UM00 (4th edition)Date Published October 2001 N CP(K)1995Common to 78K/

Pagina 2

10 User's Manual U12326EJ4V0UMCHAPTER 5 EXPLANATION OF INSTRUCTIONS ...

Pagina 3 - NOTES FOR CMOS DEVICES

100CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMReturn from BreakRETBReturn from Software Vectored Interrupt[Instruction for

Pagina 4 - M8E 00. 4

CHAPTER 5 EXPLANATION OF INSTRUCTIONS101User's Manual U12326EJ4V0UM5.11 Stack Manipulation InstructionsThe following are stack manipulation in

Pagina 5 - Regional Information

102CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMPushPUSHPush[Instruction format] PUSH src[Operation] When src = rp When src

Pagina 6 - Page Description

CHAPTER 5 EXPLANATION OF INSTRUCTIONS103User's Manual U12326EJ4V0UMPopPOPPop[Instruction format] POP dst[Operation] When dst = rp When dst = PS

Pagina 7 - INTRODUCTION

104CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMMOVW SP, src Move WordMOVW AX, SP Word Data Transfer with Stack Pointer[Inst

Pagina 8

CHAPTER 5 EXPLANATION OF INSTRUCTIONS105User's Manual U12326EJ4V0UM5.12 Unconditional Branch InstructionThe unconditional branch instruction i

Pagina 9

106CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMBranchBRUnconditional Branch[Instruction format] BR target[Operation] PC ← t

Pagina 10

CHAPTER 5 EXPLANATION OF INSTRUCTIONS107User's Manual U12326EJ4V0UM5.13 Conditional Branch InstructionsConditional branch instructions are sho

Pagina 11 - LIST OF TABLES

108CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMBranch if CarryBCConditional Branch with Carry Flag (CY = 1)[Instruction for

Pagina 12

CHAPTER 5 EXPLANATION OF INSTRUCTIONS109User's Manual U12326EJ4V0UMBranch if Not CarryBNCConditional Branch with Carry Flag (CY = 0)[Instructio

Pagina 13 - Register Area

11User's Manual U12326EJ4V0UMLIST OF FIGURESFigure No. Title Page2-1 Program Counter Configuration...

Pagina 14 - 2.1 Control Registers

110CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMBranch if ZeroBZConditional Branch with Zero Flag (Z = 1)[Instruction format

Pagina 15

CHAPTER 5 EXPLANATION OF INSTRUCTIONS111User's Manual U12326EJ4V0UMBranch if Not ZeroBNZConditional Branch with Zero Flag (Z = 0)[Instruction f

Pagina 16

112CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMBranch if TrueBTConditional Branch by Bit Test (Byte Data Bit = 1)[Instructi

Pagina 17

CHAPTER 5 EXPLANATION OF INSTRUCTIONS113User's Manual U12326EJ4V0UMBranch if FalseBFConditional Branch by Bit Test (Byte Data Bit = 0)[Instruct

Pagina 18 - (b) Functional names

114CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMBranch if True and ClearBTCLRConditional Branch and Clear by Bit Test (Byte

Pagina 19

CHAPTER 5 EXPLANATION OF INSTRUCTIONS115User's Manual U12326EJ4V0UMDecrement and Branch if Not ZeroDBNZConditional Loop (R1 ≠ 0)[Instruction fo

Pagina 20 - CHAPTER 3 ADDRESSING

116CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.14 CPU Control InstructionsThe following are CPU control instructions.SEL

Pagina 21

CHAPTER 5 EXPLANATION OF INSTRUCTIONS117User's Manual U12326EJ4V0UMSelect Register BankSEL RBnRegister Bank Selection[Instruction format] SEL R

Pagina 22

118CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMNo OperationNOPNo Operation[Instruction format] NOP[Operation] no operation[

Pagina 23

CHAPTER 5 EXPLANATION OF INSTRUCTIONS119User's Manual U12326EJ4V0UMEnable InterruptEIInterrupt Enabled[Instruction format] EI[Operation] IE ← 1

Pagina 24

12User's Manual U12326EJ4V0UMCHAPTER 1 MEMORY SPACE1.1 Memory SpacesThe 78K/0 Series product program memory map varies depending on the inte

Pagina 25

120CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMDisable InterruptDIInterrupt Disabled[Instruction format] DI[Operation] IE ←

Pagina 26

CHAPTER 5 EXPLANATION OF INSTRUCTIONS121User's Manual U12326EJ4V0UMHaltHALTHALT Mode Set[Instruction format] HALT[Operation] Set HALT Mode[Oper

Pagina 27 - 0101000050H (immediate data)

122CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMStopSTOPStop Mode Set[Instruction format] STOP[Operation] Set STOP Mode[Oper

Pagina 28

123User's Manual U12326EJ4V0UMAPPENDIX A REVISION HISTORYThe following table shows the revision history of the previous editions. The “Applie

Pagina 29 - Instruction code 10000101

124User's Manual U12326EJ4V0UMAPPENDIX B INSTRUCTION INDEX (MNEMONIC: BY FUNCTION)[8-bit data transfer instructions]MOV ... 49XCH ... 50[1

Pagina 30

125User's Manual U12326EJ4V0UM[Unconditional branch instruction]BR ... 106[Conditional branch instructions]BC ... 108BNC ... 109BZ ... 110BNZ ..

Pagina 31 - Instruction code 10110101

126 User's Manual U12326EJ4V0UMAPPENDIX C INSTRUCTION INDEX (MNEMONIC: IN ALPHABETICAL ORDER)[A]ADD ... 55ADDC ... 56ADDW ... 64ADJBA ...

Pagina 32 - 4.1 Operation

127User's Manual U12326EJ4V0UM[S]SEL RBn ... 117SET1 ... 90STOP ... 122SUB ... 57SUBC ... 58SUBW ... 65[X]XCH ... 50XCHW ... 53XOR ... 61XOR1 ..

Pagina 33 - CHAPTER 4 INSTRUCTION SET

128 User's Manual U12326EJ4V0UM[MEMO]

Pagina 34

Although NEC has taken all possible stepsto ensure that the documentation suppliedto our customers is complete, bug freeand up-to-date, we readily acc

Pagina 35

13CHAPTER 1 MEMORY SPACEUser's Manual U12326EJ4V0UM(3) RAM for VFD displayThere are some products in the 78K/0 Series to which RAM for VFD disp

Pagina 36

14User's Manual U12326EJ4V0UMCHAPTER 2 REGISTERS2.1 Control RegistersThe control registers control the program sequence, statuses and stack me

Pagina 37

15CHAPTER 2 REGISTERSUser's Manual U12326EJ4V0UM(1) Interrupt enable flag (IE)This flag controls the interrupt request acknowledgement operatio

Pagina 38 - 4.2 Instruction Codes

16CHAPTER 2 REGISTERSUser's Manual U12326EJ4V0UMInterrupt andBRK instructionsPSWPC15-PC8PC15-PC8PC7-PC0Lower halfregister pairsSP SP _ 2SP

Pagina 39 - A,sfr 1001 0011 Sfr-offset

17CHAPTER 2 REGISTERSUser's Manual U12326EJ4V0UM2.2 General-Purpose RegistersGeneral-purpose registers are mapped at particular addresses (FEE

Pagina 40 - 2. Except r = A

18CHAPTER 2 REGISTERSUser's Manual U12326EJ4V0UMFigure 2-6. General-Purpose Register Configuration(a) Absolute names(b) Functional namesBANK

Pagina 41 - Note Except r = A

19CHAPTER 2 REGISTERSUser's Manual U12326EJ4V0UM2.3 Special Function Registers (SFRs)Unlike a general-purpose register, each special-function

Pagina 42

2User's Manual U12326EJ4V0UM[MEMO]

Pagina 43

20User's Manual U12326EJ4V0UMCHAPTER 3 ADDRESSING3.1 Instruction Address AddressingAn instruction address is determined by program counter (PC

Pagina 44

21CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM15 0PC8770fa10 to fa811 1000001643CALLFfa7 to fa03.1.2 Immediate addressing[Function]Immediat

Pagina 45

22CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM15 115 0PC70Low addr.High addr.Memory (Table)Effective address+1Effective address0100000000878

Pagina 46

23CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM3.1.4 Register addressing[Function]The register pair (AX) contents to be specified by an inst

Pagina 47 - MOV r, #byte MOV A, PSW

24CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM3.2 Operand Address AddressingThe following methods are available to specify the register and

Pagina 48 - XCH ... 50

25CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM3.2.2 Register addressing[Function]Register addressing accesses a general-purpose register as

Pagina 49

26CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM3.2.3 Direct addressing[Function]Direct addressing directly addresses the memory indicated by

Pagina 50

27CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM150Short direct memoryEffectiveaddress11111118707OP codesaddr-offsetαWhen 8-bit immediate data

Pagina 51 - XCHW ... 53

28CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM150SFREffective address11111118707OP codesfr-offset13.2.5 Special-function register (SFR) add

Pagina 52

29CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM15 08D7E077 0ADEMemoryMemory address specified by register pair DEContents of memory to be add

Pagina 53 - Mnemonic Operand(dst,src)

3User's Manual U12326EJ4V0UMCaution: Purchase of NEC I2C components conveys a license under the Philips I2C Patent Rights to use thesecomponents

Pagina 54

30CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM3.2.7 Based addressing[Function]8-bit immediate data is added to the contents of the HL regis

Pagina 55

31CHAPTER 3 ADDRESSINGUser's Manual U12326EJ4V0UM3.2.9 Stack addressing[Function]The stack area is indirectly addressed with the stack pointer

Pagina 56

32User's Manual U12326EJ4V0UMCHAPTER 4 INSTRUCTION SETThis chapter lists the instructions in the 78K/0 Series instruction set. The instructi

Pagina 57

33CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM4.1.2 Description of “operation” columnA: A register; 8-bit accumulatorX: X registerB:

Pagina 58

34CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM4.1.4 Description of number of clocks1 instruction clock cycle is 1 CPU clock cycle (fCP

Pagina 59

35CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM 2nd Operand #byte A rNotesfr saddr !addr16 PSW [DE] [HL][HL+byte]$addr16 1

Pagina 60

36CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM 2nd Operand A.bit sfr.bit saddr.bit PSW.bit [HL].bit CY $addr16 None1st O

Pagina 61

37CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM(4) Call instructions/branch instructionsCALL, CALLF, CALLT, BR, BC, BNC, BZ, BNZ, BT, BF

Pagina 62

38CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM4.2 Instruction Codes4.2.1 Description of instruction code tablerrpRBR2 R1 R0 reg P1 P0

Pagina 63 - CMPW ... 66

39CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM4.2.2 Instruction code listInstructionMnemonicOperands Operation CodeGroup B1 B2 B3 B48-

Pagina 64 - ADDW AX, #word

4User's Manual U12326EJ4V0UMThe export of these products from Japan is regulated by the Japanese government. The export of some or all of thesep

Pagina 65 - SUBW AX, #word

40CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM16-Bit Data MOVW rp,#word 0001 0P1 P0 0 Low byte High byteTransfer saddrp,#word 1110 1110

Pagina 66 - CMPW AX, #word

41CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM8-Bit SUB A,#byte 0001 1101 DataOperation saddr,#byte 1001 1000 Saddr-offset DataA,r

Pagina 67 - DIVUW ... 69

42CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM8-Bit OR A,#byte 0110 1101 DataOperation saddr,#byte 1110 1000 Saddr-offset DataA,r

Pagina 68 - Mnemonic Operand(src)

43CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UM16-Bit ADDW AX,#word 1100 1010 Low byte High byteOperation SUBW AX,#word 1101 1010 Low by

Pagina 69 - Mnemonic Operand(dst)

44CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UMBit OR1 CY,saddr.bit 0111 0001 0B2 B1 B00110 Saddr-offsetManipulationCY,sfr.bit 0111 0001

Pagina 70 - DECW ... 74

45CHAPTER 4 INSTRUCTION SETUser's Manual U12326EJ4V0UMUnconditionalBR !addr16 1001 1011 Low addr High addrBranch $addr16 1111 1010 jdispAX 0011

Pagina 71

46User's Manual U12326EJ4V0UMCHAPTER 5 EXPLANATION OF INSTRUCTIONSThis chapter explains the instructions of 78K/0 Series products. Each ins

Pagina 72

47CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMDESCRIPTION EXAMPLEMnemonic Full nameMoveMOVByte Data TransferMeaning of inst

Pagina 73 - INCW rp

48CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.1 8-Bit Data Transfer InstructionsThe following instructions are 8-bit dat

Pagina 74 - Mnemonic Operand (dst)

49CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMMoveMOVByte Data Transfer[Instruction format] MOV dst, src[Operation] dst ← s

Pagina 75 - 5.7 Rotate Instructions

5User's Manual U12326EJ4V0UMRegional InformationSome information contained in this document may vary from country to country. Before using any

Pagina 76 - ROR A, 1

50CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMExchangeXCHByte Data Exchange[Instruction format] XCH dst, src[Operation] dst

Pagina 77 - ROL A, 1

51CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.2 16-Bit Data Transfer InstructionsThe following instructions are 16-bit d

Pagina 78 - RORC A, 1

52CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMMove WordMOVWWord Data Transfer[Instruction format] MOVW dst, src[Operation]

Pagina 79 - ROLC A, 1

53CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMExchange WordXCHWWord Data Exchange[Instruction format] XCHW dst, src[Operati

Pagina 80

54CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.3 8-Bit Operation InstructionsThe following are 8-bit operation instructio

Pagina 81

55CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMAddADDByte Data Addition[Instruction format] ADD dst, src[Operation] dst, CY

Pagina 82 - 5.8 BCD Adjust Instructions

56CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMAdd with CarryADDCAddition of Byte Data with Carry[Instruction format] ADDC d

Pagina 83

57CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMSubtractSUBByte Data Subtraction[Instruction format] SUB dst, src[Operation]

Pagina 84

58CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMSubtract with CarrySUBCSubtraction of Byte Data with Carry[Instruction format

Pagina 85

59CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMAndANDLogical Product of Byte Data[Instruction format] AND dst, src[Operation

Pagina 86

6User's Manual U12326EJ4V0UMMajor Revisions in This EditionPage DescriptionThroughout Deletion of all information except for information common

Pagina 87

60CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMOrORLogical Sum of Byte Data[Instruction format] OR dst, src[Operation] dst ←

Pagina 88

61CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMExclusive OrXORExclusive Logical Sum of Byte Data[Instruction format] XOR dst

Pagina 89

62CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMCompareCMPByte Data Comparison[Instruction format] CMP dst, src[Operation] ds

Pagina 90

63CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.4 16-Bit Operation InstructionsThe following are 16-bit operation instruct

Pagina 91

64CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMAdd WordADDWWord Data Addition[Instruction format] ADDW dst, src[Operation] d

Pagina 92

65CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMSubtract WordSUBWWord Data Subtraction[Instruction format] SUBW dst, src[Oper

Pagina 93

66CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMCompare WordCMPWWord Data Comparison[Instruction format] CMPW dst, src[Operat

Pagina 94 - CALL !addr16

67CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.5 Multiply/Divide InstructionsThe following are multiply/divide instructio

Pagina 95 - CALLF !addr11

68CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMMultiply UnsignedMULUUnsigned Multiplication of Data[Instruction format] MULU

Pagina 96 - L ← (00000000, addr5)

69CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMDivide Unsigned WordDIVUWUnsigned Division of Word Data[Instruction format] D

Pagina 97 - L ← (3EH)

7User's Manual U12326EJ4V0UMINTRODUCTIONTarget Readers This manual is intended for users who wish to understand the functions of78K/0 Series pro

Pagina 98

70CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.6 Increment/Decrement InstructionsThe following are increment/decrement in

Pagina 99

71CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMIncrementINCByte Data Increment[Instruction format] INC dst[Operation] dst ←

Pagina 100 - H ← (SP+1)

72CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMDecrementDECByte Data Decrement[Instruction format] DEC dst[Operation] dst ←

Pagina 101 - MOVW AX, SP ... 104

73CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMIncrement WordINCWWord Data Increment[Instruction format] INCW dst[Operation]

Pagina 102 - L,SP← SP–1

74CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMDecrement WordDECWWord Data Decrement[Instruction format] DECW dst[Operation]

Pagina 103 - H ← (SP+1), SP ← SP+1

75CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.7 Rotate InstructionsThe following are rotate instructions.ROR ... 76ROL .

Pagina 104 - MOVW SP, src Move Word

76CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMRotate RightRORByte Data Rotation to the Right[Instruction format] ROR dst, c

Pagina 105 - BR ... 106

77CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMRotate LeftROLByte Data Rotation to the Left[Instruction format] ROL dst, cnt

Pagina 106

78CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMRotate Right with CarryRORCByte Data Rotation to the Right with Carry[Instruc

Pagina 107

79CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMRotate Left with CarryROLCByte Data Rotation to the Left with Carry[Instruct

Pagina 108 - BC $addr16

8User's Manual U12326EJ4V0UMRelated DocumentsThe related documents indicated in this publication may include preliminary versions. However, pre

Pagina 109 - BNC $addr16

80CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMRotate Right DigitROR4Digit Rotation to the Right[Instruction format] ROR4 ds

Pagina 110 - BZ $addr16

81CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMRotate Left DigitROL4Digit Rotation to the Left[Instruction format] ROL4 dst[

Pagina 111 - BNZ $addr16

82CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UM5.8 BCD Adjust InstructionsThe following are BCD adjust instructions.ADJBA .

Pagina 112

CHAPTER 5 EXPLANATION OF INSTRUCTIONS83User's Manual U12326EJ4V0UMDecimal Adjust Register for AdditionADJBADecimal Adjustment of Addition Resul

Pagina 113

84CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMDecimal Adjust Register for SubtractionADJBSDecimal Adjustment of Subtraction

Pagina 114

CHAPTER 5 EXPLANATION OF INSTRUCTIONS85User's Manual U12326EJ4V0UM5.9 Bit Manipulation InstructionsThe following are bit manipulation instruct

Pagina 115

86CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMMove Single BitMOV11 Bit Data Transfer[Instruction format] MOV1 dst, src[Oper

Pagina 116

CHAPTER 5 EXPLANATION OF INSTRUCTIONS87User's Manual U12326EJ4V0UMAnd Single BitAND11 Bit Data Logical Product[Instruction format] AND1 dst, sr

Pagina 117 - Mnemonic Operand(RBn)

88CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMOr Single BitOR11 Bit Data Logical Sum[Instruction format] OR1 dst, src[Opera

Pagina 118

CHAPTER 5 EXPLANATION OF INSTRUCTIONS89User's Manual U12326EJ4V0UMExclusive Or Single BitXOR11 Bit Data Exclusive Logical Sum[Instruction forma

Pagina 119

9User's Manual U12326EJ4V0UMCONTENTSCHAPTER 1 MEMORY SPACE ...

Pagina 120

90CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMSet Single Bit (Carry Flag)SET11 Bit Data Set[Instruction format] SET1 dst[Op

Pagina 121

CHAPTER 5 EXPLANATION OF INSTRUCTIONS91User's Manual U12326EJ4V0UMClear Single Bit (Carry Flag)CLR11 Bit Data Clear[Instruction format] CLR1 ds

Pagina 122

92CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMNot Single Bit (Carry Flag)NOT11 Bit Data Logical Negation[Instruction format

Pagina 123

CHAPTER 5 EXPLANATION OF INSTRUCTIONS93User's Manual U12326EJ4V0UM5.10 Call Return InstructionsThe following are call return instructions.CALL

Pagina 124

94CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMCallCALLSubroutine Call (16 Bit Direct)[Instruction format] CALL target[Opera

Pagina 125

CHAPTER 5 EXPLANATION OF INSTRUCTIONS95User's Manual U12326EJ4V0UMCall FlagCALLFSubroutine Call (11 Bit Direct Specification)[Instruction forma

Pagina 126

96CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMCall TableCALLTSubroutine Call (Refer to the Call Table)[Instruction format]

Pagina 127

CHAPTER 5 EXPLANATION OF INSTRUCTIONS97User's Manual U12326EJ4V0UMBreakBRKSoftware Vectored Interrupt[Instruction format] BRK[Operation] (SP– 1

Pagina 128

98CHAPTER 5 EXPLANATION OF INSTRUCTIONSUser's Manual U12326EJ4V0UMReturnRETReturn from Subroutine[Instruction format] RET[Operation] PCL ← (SP)

Pagina 129 - Facsimile

CHAPTER 5 EXPLANATION OF INSTRUCTIONS99User's Manual U12326EJ4V0UMReturn from InterruptRETIReturn from Hardware Vectored Interrupt[Instruction

Comentarios a estos manuales

Sin comentarios