Epson S1C63000 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Computers Epson S1C63000 herunter. Epson S1C63000 User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 152
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - S1C63000

Core CPU ManualCMOS 4-BIT SINGLE CHIP MICROCOMPUTERS1C63000MF855-03a

Seite 2

4 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTURECHAPTER 2ARCHITECTUREThis chapter explains the S1C63000 ALU, registers, configuration of the pr

Seite 3

94 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETINC %spINT imm6 Software interrupt 3 cyclesFunction: [SP2-1] ← F, SP2 ← SP2 - 1, ([(SP1-1

Seite 4

S1C63000 CORE CPU MANUAL EPSON 95CHAPTER 4: INSTRUCTION SETJP %Y Indirect jump using Y reg. 1 cycleFunction: PC ← YLoads the content of the Y registe

Seite 5 - S1C63000 CORE CPU MANUAL

96 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETJR %BA Jump to relative location BA reg. 1 cycleFunction: PC ← PC + BA + 1Adds the content

Seite 6 - CONTENTS

S1C63000 CORE CPU MANUAL EPSON 97CHAPTER 4: INSTRUCTION SETJR sign8 Jump to relative location sign8 1 cycleFunction: PC ← PC + sign8 + 1 (sign8 = -12

Seite 7 - 1OUTLINE

98 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETJRNC sign8 Jump to relative location sign8 if C flag is reset 1 cycleFunction: If C = 0 th

Seite 8 - 1.4 Input-Output Signals

S1C63000 CORE CPU MANUAL EPSON 99CHAPTER 4: INSTRUCTION SETJRZ sign8 Jump to relative location sign8 if Z flag is set 1 cycleFunction: If Z = 1 then

Seite 9 - CHAPTER 1: OUTLINE

100 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETLD %r,imm4 Load immediate data imm4 into r reg. 1 cycleFunction: r ← imm4Loads the 4-bit

Seite 10 - 2ARCHITECTURE

S1C63000 CORE CPU MANUAL EPSON 101CHAPTER 4: INSTRUCTION SETLD %r,[%ir]+ Load location [ir reg.] into r reg. and increment ir reg. 1 cycleFunction: r

Seite 11 - 2.1.3 Flags

102 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETLD [%ir]+,%r Load r reg. into location [ir reg.] and increment ir reg. 1 cycleFunction: [

Seite 12 - • Flag operations

S1C63000 CORE CPU MANUAL EPSON 103CHAPTER 4: INSTRUCTION SETLD [%ir]+,imm4Load immediate data imm4 into location [ir reg.] and increment ir reg. 1 cy

Seite 13 - CHAPTER 2: ARCHITECTURE

S1C63000 CORE CPU MANUAL EPSON 5CHAPTER 2: ARCHITECTURE • A and B registersThe A and B registers are respective 4-bit data registers that are used fo

Seite 14

104 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETLD [%ir],[%ir’]+Load location [ir’ reg.] into location [ir reg.] and increment ir’ reg. 2

Seite 15 - (2) Extension with E flag

S1C63000 CORE CPU MANUAL EPSON 105CHAPTER 4: INSTRUCTION SETLD [%ir]+,[%ir’]+Load location [ir’ reg.] into location [ir reg.] and increment ir and ir

Seite 16 - EXT register

106 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETLDB %BA,[%ir]+ Load location [ir reg.] into BA reg. and increment ir reg. 2 cyclesFunctio

Seite 17 - 2.2 Program Memory

S1C63000 CORE CPU MANUAL EPSON 107CHAPTER 4: INSTRUCTION SETLDB %BA,%rr Load rr reg. into BA reg. 1 cycleFunction: BA ← rrLoads the content of the rr

Seite 18 - 2.2.3 Branch instructions

108 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETLDB [%ir]+,%BA Load BA reg. into location [ir reg.] and increment ir reg. 2 cyclesFunctio

Seite 19 - EPSON 13

S1C63000 CORE CPU MANUAL EPSON 109CHAPTER 4: INSTRUCTION SETLDB %EXT,imm8 Load immediate data imm8 into EXT reg. 1 cycleFunction: EXT ← imm8Loads the

Seite 20

110 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETLDB %rr,imm8 Load immediate data imm8 into rr reg. 1 cycleFunction: rr ← imm8Loads the 8-

Seite 21 - EPSON 15

S1C63000 CORE CPU MANUAL EPSON 111CHAPTER 4: INSTRUCTION SETLDB %sp,%BA Load BA reg. into stack pointer 1 cycleFunction: sp ← BALoads the content of

Seite 22

112 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETOR %r,%r’OR %r,imm4Logical OR of r’ reg. and r reg. 1 cycleFunction: r ← r ∨ r’Performs

Seite 23 - 2.3 Data Memory

S1C63000 CORE CPU MANUAL EPSON 113CHAPTER 4: INSTRUCTION SETOR %F,imm4 Logical OR of immediate data imm4 and F reg. 1 cycleFunction: F ← F ∨ imm4Perf

Seite 24

6 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTUREShift/Rotate instructions that change the Z flag:SLL, SRL, RL, RRThe Z flag is used for conditi

Seite 25 - 2.3.3 Stack and stack pointer

114 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETOR %r,[%ir]+ Logical OR of location [ir reg.] and r reg. and increment ir reg. 1 cycleFun

Seite 26 - (2) Stack pointer SP2

S1C63000 CORE CPU MANUAL EPSON 115CHAPTER 4: INSTRUCTION SETOR [%ir]+,%r Logical OR of r reg. and location [ir reg.] and increment ir reg. 2 cyclesFu

Seite 27 - 2.3.4 Memory mapped I/O

116 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETOR [%ir]+,imm4Logical OR of immediate data imm4 and location [ir reg.] and increment ir r

Seite 28 - 3 CPU OPERATION

S1C63000 CORE CPU MANUAL EPSON 117CHAPTER 4: INSTRUCTION SETPOP %irPUSH %r Push r reg. onto stack 1 cycleFunction: [SP2-1] ← r, SP2 ← SP2 -1Decremen

Seite 29 - 3.3.2 High-impedance control

118 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETPUSH %ir Push ir reg. onto stack 1 cycleFunction: ([(SP1-1)*4+3]~[(SP1-1)*4]) ← ir, SP1 ←

Seite 30 - 3.3.4 Memory write

S1C63000 CORE CPU MANUAL EPSON 119CHAPTER 4: INSTRUCTION SETRETD imm8 Return from subroutine and load imm8 into location [X] 3 cyclesFunction: PC ← (

Seite 31 - 3.4 Initial Reset

120 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETRETSRL %r Rotate left r reg. with carry 1 cycleFunction:Rotates the content of the r regi

Seite 32 - 3.5 Interrupts

S1C63000 CORE CPU MANUAL EPSON 121CHAPTER 4: INSTRUCTION SETRL [%ir] Rotate left location [ir reg.] with carry 2 cyclesFunction:Rotates the content o

Seite 33 - 3.5.2 Interrupt sequence

122 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETRR %rRR [%ir]Rotate right r reg. with carry 1 cycleFunction:Rotates the content of the r

Seite 34

S1C63000 CORE CPU MANUAL EPSON 123CHAPTER 4: INSTRUCTION SETRR [%ir]+ Rotate right location [ir reg.] with carry and increment ir reg. 2 cyclesFuncti

Seite 35

S1C63000 CORE CPU MANUAL EPSON 7CHAPTER 2: ARCHITECTURE2.1.4 Arithmetic operations with numbering systemIn the S1C63000, some instructions support a n

Seite 36 - • Software interrupts

124 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSBC %r,imm4 Subtract with carry immediate data imm4 from r reg. 1 cycleFunction: r ← r -

Seite 37 - 3.6 Standby Status

S1C63000 CORE CPU MANUAL EPSON 125CHAPTER 4: INSTRUCTION SETSBC %r,[%ir]+Subtract with carry location [ir reg.] from r reg. and increment ir reg. 1 c

Seite 38

126 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSBC [%ir]+,%rSubtract with carry r reg. from location [ir reg.] and increment ir reg. 2 c

Seite 39 - 4INSTRUCTION SET

S1C63000 CORE CPU MANUAL EPSON 127CHAPTER 4: INSTRUCTION SETSBC [%ir]+,imm4Subtract with carry immediate data imm4 from location [ir reg.] and increm

Seite 40 - • 6-bit absolute addressing

128 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSBC %B,[%ir],n4 Subtract with carry location [ir reg.] from B reg. in specified radix 2 c

Seite 41 - EPSON 35

S1C63000 CORE CPU MANUAL EPSON 129CHAPTER 4: INSTRUCTION SETSBC [%ir],%B,n4 Subtract with carry B reg. from location [ir reg.] in specified radix 2 c

Seite 42

130 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSBC [%ir],0,n4 Subtract carry from location [ir reg.] in specified radix 2 cyclesFunction

Seite 43 - 4.2 Instruction List

S1C63000 CORE CPU MANUAL EPSON 131CHAPTER 4: INSTRUCTION SETSET [addr6],imm2 Set bit imm2 in location [addr6] 2 cyclesFunction: [addr6] ← [addr6] ∨ (

Seite 44 - 4.2.2 Symbol meanings

132 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSLL [%ir]SLL [%ir]+ Shift left location [ir reg.] logical and increment ir reg. 2 cycles

Seite 45 - Operations and others

S1C63000 CORE CPU MANUAL EPSON 133CHAPTER 4: INSTRUCTION SETSLP Set CPU to SLEEP mode 2 cyclesFunction: SleepSets the CPU to SLEEP status.The CPU and

Seite 46

8 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTURE • Notes in numbering operationsWhen performing a numbering operation, set operands in correct

Seite 47 - EPSON 41

134 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSRL [%ir] Shift right location [ir reg.] logical 2 cyclesFunction:Shifts the content of t

Seite 48

S1C63000 CORE CPU MANUAL EPSON 135CHAPTER 4: INSTRUCTION SETSUB %r,%r’ Subtract r’ reg. from r reg. 1 cycleFunction: r ← r - r’Subtracts the content

Seite 49 - EPSON 43

136 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSUB %r,[%ir]SUB %r,[%ir]+ Subtract location [ir reg.] from r reg. and increment ir reg.

Seite 50 - ALU logic operation (1/2)

S1C63000 CORE CPU MANUAL EPSON 137CHAPTER 4: INSTRUCTION SETSUB [%ir],%rSUB [%ir]+,%r Subtract r reg. from location [ir reg.] and increment ir reg.

Seite 51

138 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSUB [%ir],imm4 Subtract immediate data imm4 from location [ir reg.] 2 cyclesFunction: [ir

Seite 52

S1C63000 CORE CPU MANUAL EPSON 139CHAPTER 4: INSTRUCTION SETTST [addr6],imm2XOR %r,%r’ Exclusive OR r’ reg. and r reg. 1 cycleFunction: r ← r ∀ r’Pe

Seite 53 - Stack operation

140 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETXOR %r,imm4 Exclusive OR immediate data imm4 and r reg. 1 cycleFunction: r ← r ∀ imm4Perf

Seite 54

S1C63000 CORE CPU MANUAL EPSON 141CHAPTER 4: INSTRUCTION SETXOR %r,[%ir] Exclusive OR location [ir reg.] and r reg. 1 cycleFunction: r ← r ∀ [ir]Perf

Seite 55

142 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETXOR [%ir],%r Exclusive OR r reg. and location [ir reg.] 2 cyclesFunction: [ir] ← [ir] ∀ r

Seite 56

S1C63000 CORE CPU MANUAL EPSON 143CHAPTER 4: INSTRUCTION SETXOR [%ir],imm4 Exclusive OR immediate data imm4 and location [ir reg.] 2 cyclesFunction:

Seite 57 - EPSON 51

S1C63000 CORE CPU MANUAL EPSON 9CHAPTER 2: ARCHITECTUREThe EXT register maintains the data set previously until new data is written or an initial rese

Seite 58 - ↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔↔

144 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETIndexADC %r,%r’... 61ADC %r,imm4 ... 61ADC %r,[%ir] ... 62ADC %r,

Seite 59 - EPSON 53

AMERICAEPSON ELECTRONICS AMERICA, INC.- HEADQUARTERS -150 River Oaks ParkwaySan Jose, CA 95134, U.S.A.Phone: +1-408-922-0200 Fax: +1-408-922-0238- S

Seite 60

EPSON Electronic Devices WebsiteELECTRONIC DEVICES MARKETING DIVISIONFirst issue July, 1995Printed February, 2001 in Japan AMhttp://www.epsondevice.co

Seite 61 - EPSON 55

10 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTURE • 16-bit data transfer/arithmetic for the index registers X and YThe following six instructi

Seite 62

S1C63000 CORE CPU MANUAL EPSON 11CHAPTER 2: ARCHITECTURE2.2 Program Memory2.2.1 Configuration of program memoryThe S1C63000 can access a maximum 64K-w

Seite 63 - EPSON 57

12 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTURE2.2.3 Branch instructionsVarious branch instructions are provided for program repeat and subro

Seite 64

S1C63000 CORE CPU MANUAL EPSON 13CHAPTER 2: ARCHITECTURE(2) Instruction with a 4-bit A register data that specifies a relative addressJR %AThis instru

Seite 65 - 4.3 Instruction Formats

NOTICENo part of this material may be reproduced or duplicated in any form or by any means without the written permission of SeikoEpson. Seiko Epson r

Seite 66

14 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTUREPC relative jump instructionsProgram memory0000HFFFFHxxxxHxxxxH-127JR sign8xxxxH+1280000HFFF

Seite 67 - ADC %r,%r'

S1C63000 CORE CPU MANUAL EPSON 15CHAPTER 2: ARCHITECTUREThis instruction permits the extended addressing with the E flag, and the 8-bit relative addre

Seite 68

16 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTURE • Return instructions (RET, RETS, RETD, RETI)A return instruction is used to return from a s

Seite 69 - EPSON 63

S1C63000 CORE CPU MANUAL EPSON 17CHAPTER 2: ARCHITECTURETOASCII: ;BCD to ASCII conversionLDB %EXT,0x00 ;Sets address 0040HLDB %XL,0x40JR %ARETD 0x30 ;

Seite 70 - ADC [%ir]+,imm4

18 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTURE2.3.2 Addressing for data memoryFor addressing to access the data memory, the index registers

Seite 71 - EPSON 65

S1C63000 CORE CPU MANUAL EPSON 19CHAPTER 2: ARCHITECTURE • Accessing for addresses 0000H to 003FHData in this area is used for a relative address by

Seite 72 - ADC %B,[%ir]+,n4

20 EPSON S1C63000 CORE CPU MANUALCHAPTER 2: ARCHITECTUREThe SP1 increment/decrement affects only the 8-bit field shown in Figure 2.3.3.1, and its oper

Seite 73 - ADC [%ir]+,%B,n4

S1C63000 CORE CPU MANUAL EPSON 21CHAPTER 2: ARCHITECTUREFig. 2.3.3.4 4-bit stack operationThe SP2 increment/decrement affects only the 8-bit field sh

Seite 74 - ADC [%ir]+,0,n4

22 EPSON S1C63000 CORE CPU MANUALCHAPTER 3: CPU OPERATIONCHAPTER 3 CPU OPERATIONThis section explains the CPU operations and the operation timings.3.1

Seite 75 - EPSON 69

S1C63000 CORE CPU MANUAL EPSON 23CHAPTER 3: CPU OPERATION3.3 Data Bus (Data Memory) Control3.3.1 Data bus statusThe S1C63000 output the data bus statu

Seite 76

S1C63 FamilyDevicesS1 C 63158 F 0A01Packing specifications 00 : Besides tape & reel 0A : TCP BL 2 directions 0B : Tape & reel BACK 0C : TCP

Seite 77 - EPSON 71

24 EPSON S1C63000 CORE CPU MANUALCHAPTER 3: CPU OPERATION3.3.3 Interrupt vector readWhen an interrupt is generated, the CPU reads the interrupt vector

Seite 78 - ADD [%ir]+,imm4

S1C63000 CORE CPU MANUAL EPSON 25CHAPTER 3: CPU OPERATION3.3.5 Memory readIn an execution cycle that reads data from the data memory, the read signal

Seite 79 - EPSON 73

26 EPSON S1C63000 CORE CPU MANUALCHAPTER 3: CPU OPERATIONAfter an initial reset, all the interrupts including NMI are masked until both the stack poin

Seite 80

S1C63000 CORE CPU MANUAL EPSON 27CHAPTER 3: CPU OPERATIONEach of the addresses listed above corresponds to an interrupt factor individually. A branch

Seite 81 - AND %r,[%ir]

28 EPSON S1C63000 CORE CPU MANUALCHAPTER 3: CPU OPERATION3. Instructions that set the stack pointerLDB %SP1,%BA LDB %SP2,%BAThese two instructions are

Seite 82

S1C63000 CORE CPU MANUAL EPSON 29CHAPTER 3: CPU OPERATIONCLKPKPLPCFETCHBS16DBS1/0WRRDRDIVDA00–DA15D0–D3M00–M15IRQIACKNACKIF0 12345DUMMY (010xH) ANYpc-

Seite 83 - AND [%ir]+,imm4

30 EPSON S1C63000 CORE CPU MANUALCHAPTER 3: CPU OPERATION • Software interruptsThe software interrupts are generated by the INT instruction. Time of

Seite 84

S1C63000 CORE CPU MANUAL EPSON 31CHAPTER 3: CPU OPERATION3.6 Standby StatusThe S1C63000 has a function that stops the CPU operation and it can greatly

Seite 85 - BIT %r,[%ir]

32 EPSON S1C63000 CORE CPU MANUALCHAPTER 3: CPU OPERATIONDuring SLEEP status, as in the HALT status, the contents of the registers in the CPU that hav

Seite 86

S1C63000 CORE CPU MANUAL EPSON 33CHAPTER 4: INSTRUCTION SETCHAPTER 4INSTRUCTION SETThe S1C63000 offers high machine cycle efficiency and a high speed

Seite 88

34 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SET • Register direct addressingThe register direct addressing is the addressing mode when sp

Seite 89 - EPSON 83

S1C63000 CORE CPU MANUAL EPSON 35CHAPTER 4: INSTRUCTION SETThese instructions perform a PC relative branch using the content (4 bits) of a memory spec

Seite 90 - CMP %r,%r’

36 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETExamples:LDB %EXT,0x15LDB %XL,0x7D ...Works as "LD %X, 0157D"LDB %EXT,0xB8ADD %X

Seite 91 - CMP %r,[%ir]+

S1C63000 CORE CPU MANUAL EPSON 37CHAPTER 4: INSTRUCTION SET • Signed 16-bit PC relative addressingThe addressing mode of the following branch instruc

Seite 92 - CMP [%ir],%r

38 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SET4.2.2 Symbol meaningsThe following indicates the meanings of the symbols used in the instru

Seite 93 - CMP [%ir]+,imm4

S1C63000 CORE CPU MANUAL EPSON 39CHAPTER 4: INSTRUCTION SETMemory[%X], [X] ... Memory where the X register specifies[%Y], [Y] ...M

Seite 94 - DEC [addr6]

40 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SET4.2.3 Instruction list by functionLD %A,%A%A,%B%A,%F%A,imm4%A,[%X]%A,[%X]+%A,[%Y]%A,[%Y]+LD

Seite 95 - EPSON 89

S1C63000 CORE CPU MANUAL EPSON 41CHAPTER 4: INSTRUCTION SETADD %A,%A%A,%B%A,imm4%A,[%X]%A,[%X]+%A,[%Y]%A,[%Y]+ADD %B,%A%B,%B%B,imm4%B,[%X]%B,[%X]+%B,[

Seite 96 - DEC %sp

42 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSUB %B,%A%B,%B%B,imm4%B,[%X]%B,[%X]+%B,[%Y]%B,[%Y]+SUB [%X],%A[%X],%B[%X],imm4[%X]+,%A[%X]+

Seite 97 - EPSON 91

S1C63000 CORE CPU MANUAL EPSON 43CHAPTER 4: INSTRUCTION SETCMP [%X],%A[%X],%B[%X],imm4[%X]+,%A[%X]+,%B[%X]+,imm4CMP [%Y],%A[%Y],%B[%Y],imm4[%Y]+,%A[%Y

Seite 98 - Set CPU to HALT mode 2 cycles

S1C63000 CORE CPU MANUAL EPSON iCONTENTSS1C63000 CORE CPU MANUALPREFACEThis manual explains the architecture, operation and instruction of the core CP

Seite 99 - EPSON 93

44 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETAND %A,%A%A,%B%A,imm4%A,[%X]%A,[%X]+%A,[%Y]%A,[%Y]+AND %B,%A%B,%B%B,imm4%B,[%X]%B,[%X]+%B,[

Seite 100 - INC %sp

S1C63000 CORE CPU MANUAL EPSON 45CHAPTER 4: INSTRUCTION SETXOR %A,%A%A,%B%A,imm4%A,[%X]%A,[%X]+%A,[%Y]%A,[%Y]+XOR %B,%A%B,%B%B,imm4%B,[%X]%B,[%X]+%B,[

Seite 101 - Mnemonic MSB LSB

46 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSLL %A%B[%X][%X]+[%Y][%Y]+SRL %A%B[%X][%X]+[%Y][%Y]+RL %A%B[%X][%X]+[%Y][%Y]+RR %A%B[%X][%X

Seite 102

S1C63000 CORE CPU MANUAL EPSON 47CHAPTER 4: INSTRUCTION SETNote: • The extended addressing (combined with the E flag) is available only for the instru

Seite 103 - EPSON 97

48 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SET4.2.4 List in alphabetical orderADC %A,%A%A,%B%A,imm4%A,[%X]%A,[%X]+%A,[%Y]%A,[%Y]+%B,%A%B,

Seite 104

S1C63000 CORE CPU MANUAL EPSON 49CHAPTER 4: INSTRUCTION SETADD [%X],imm4[%X]+,%A[%X]+,%B[%X]+,imm4[%Y],%A[%Y],%B[%Y],imm4[%Y]+,%A[%Y]+,%B[%Y]+,imm4AND

Seite 105 - EPSON 99

50 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETBIT [%Y],imm4[%Y]+,%A[%Y]+,%B[%Y]+,imm4CALR [00addr6]CALR sign8CALZ imm8CLR [00addr6],imm2[

Seite 106

S1C63000 CORE CPU MANUAL EPSON 51CHAPTER 4: INSTRUCTION SETINC [%X],n4[%X]+,n4[%Y],n4[%Y]+,n4[00addr6]INT imm6JP %YJR %A%BAsign8[00addr6]JRC sign8JRNC

Seite 107 - EPSON 101

52 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETLDB %BA,%YH%BA,%YL%BA,imm8%BA,[%X]+%BA,[%Y]+%EXT,%BA%EXT,imm8%SP1,%BA%SP2,%BA%XH,%BA%XL,%BA

Seite 108

S1C63000 CORE CPU MANUAL EPSON 53CHAPTER 4: INSTRUCTION SETRETIRETSRL %A%B[%X][%X]+[%Y][%Y]+RR %A%B[%X][%X]+[%Y][%Y]+SBC %A,%A%A,%B%A,imm4%A,[%X]%A,[%

Seite 109 - LD [%ir]+,imm4

ii EPSON S1C63000 CORE CPU MANUALCONTENTS3.5 Interrupts...

Seite 110 - LD [%ir],[%ir’]+

54 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETSLL [%X][%X]+[%Y][%Y]+SLPSRL %A%B[%X][%X]+[%Y][%Y]+SUB %A,%A%A,%B%A,imm4%A,[%X]%A,[%X]+%A,[

Seite 111 - LD [%ir]+,[%ir’]+

S1C63000 CORE CPU MANUAL EPSON 55CHAPTER 4: INSTRUCTION SET4.2.5 List of extended addressing instructions↓ –––↓ –––↓ –––↓ –––↓ –––↓ –––↓ –––↓ –––↓ –––

Seite 112

56 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SET↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓

Seite 113 - EPSON 107

S1C63000 CORE CPU MANUAL EPSON 57CHAPTER 4: INSTRUCTION SET↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ –↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ –

Seite 114 - LDB [%X]+,imm8

58 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SET↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ ––↓ –

Seite 115 - EPSON 109

S1C63000 CORE CPU MANUAL EPSON 59CHAPTER 4: INSTRUCTION SET4.3 Instruction FormatsAll the instructions of the S1C63000 are configured with 1 word (13

Seite 116

60 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETAdd with carry r' reg. to r reg. 1 cycleFunction: r ← r + r' + CAdds the content

Seite 117 - NOP No operation 1 cycle

S1C63000 CORE CPU MANUAL EPSON 61CHAPTER 4: INSTRUCTION SETADC %r,%r'ADC %r,imm4 Add with carry immediate data imm4 to r reg. 1 cycleFunction:

Seite 118 - OR %r,imm4

62 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETADC %r,[%ir] Add with carry location [ir reg.] to r reg. 1 cycleFunction: r ← r + [ir] + C

Seite 119 - EPSON 113

S1C63000 CORE CPU MANUAL EPSON 63CHAPTER 4: INSTRUCTION SETADC [%ir],%r Add with carry r reg. to location [ir reg.] 2 cyclesFunction: [ir] ← [ir] + r

Seite 120

S1C63000 CORE CPU MANUAL EPSON 1CHAPTER 1: OUTLINECHAPTER 1OUTLINEThe S1C63000 is the core CPU of the 4-bit single chip microcomputer S1C63 Family tha

Seite 121 - EPSON 115

64 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETADC [%ir],imm4ADC [%ir]+,imm4Add with carry immediate data imm4 to location [ir reg.] 2 c

Seite 122 - OR [%ir]+,imm4

S1C63000 CORE CPU MANUAL EPSON 65CHAPTER 4: INSTRUCTION SETADC %B,%A,n4 Add with carry A reg. to B reg. in specified radix 2 cyclesFunction: B ← N&ap

Seite 123 - POP %ir

66 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETADC %B,[%ir]+,n4ADC [%ir],%B,n4 Add with carry B reg. to location [ir reg.] in specified

Seite 124

S1C63000 CORE CPU MANUAL EPSON 67CHAPTER 4: INSTRUCTION SETADC [%ir]+,%B,n4Add with carry B reg. to location [ir reg.] in specified radix and increme

Seite 125 - EPSON 119

68 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETADC [%ir]+,0,n4ADD %r,%r' Add r' reg. to r reg. 1 cycleFunction: r ← r + r&apos

Seite 126 - C 3210 r

S1C63000 CORE CPU MANUAL EPSON 69CHAPTER 4: INSTRUCTION SETADD %r,imm4 Add immediate data imm4 to r reg. 1 cycleFunction: r ← r + imm4Adds the 4-bit

Seite 127 - C 3210 [ir]

70 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETADD %r,[%ir]+ Add location [ir reg.] to r reg. and increment ir reg. 1 cycleFunction: r ←

Seite 128 - RR [%ir]

S1C63000 CORE CPU MANUAL EPSON 71CHAPTER 4: INSTRUCTION SETADD [%ir]+,%r Add r reg. to location [ir reg.] and increment ir reg. 2 cyclesFunction: [ir

Seite 129 - EPSON 123

72 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETADD [%ir]+,imm4Add immediate data imm4 to location [ir reg.] and increment ir reg. 2 cycle

Seite 130

S1C63000 CORE CPU MANUAL EPSON 73CHAPTER 4: INSTRUCTION SETADD %ir,sign8 Add immediate data sign8 to ir reg. 1 cycleFunction: ir ← ir + sign8Adds the

Seite 131 - SBC %r,[%ir]+

2 EPSON S1C63000 CORE CPU MANUALCHAPTER 1: OUTLINE1.3 Block DiagramFigure 1.3.1 shows the S1C63000 block diagram.Fig. 1.3.1 S1C63000 block diagram1.4

Seite 132 - SBC [%ir]+,%r

74 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETAND %r,imm4 Logical AND of immediate data imm4 and r reg. 1 cycleFunction: r ← r ∧ imm4Per

Seite 133 - SBC [%ir]+,imm4

S1C63000 CORE CPU MANUAL EPSON 75CHAPTER 4: INSTRUCTION SETAND %r,[%ir]AND %r,[%ir]+ Logical AND of location [ir reg.] and r reg. and increment ir r

Seite 134 - SBC %B,[%ir]+,n4

76 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETAND [%ir],%r Logical AND of r reg. and location [ir reg.] 2 cyclesFunction: [ir] ← [ir] ∧ r

Seite 135 - SBC [%ir]+,%B,n4

S1C63000 CORE CPU MANUAL EPSON 77CHAPTER 4: INSTRUCTION SETAND [%ir],imm4 Logical AND of immediate data imm4 and location [ir reg.] 2 cyclesFunction:

Seite 136 - SBC [%ir]+,0,n4

78 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETBIT %r,%r’ Test bit of r reg. with r’ reg. 1 cycleFunction: r ∧ r’Performs a logical AND o

Seite 137 - EPSON 131

S1C63000 CORE CPU MANUAL EPSON 79CHAPTER 4: INSTRUCTION SETBIT %r,[%ir]BIT %r,[%ir]+ Test bit of r reg. with location [ir reg.] and increment ir reg

Seite 138 - SLL [%ir]

80 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETBIT [%ir],%r Test bit of location [ir reg.] with r reg. 1 cycleFunction: [ir] ∧ rPerforms

Seite 139 - EPSON 133

S1C63000 CORE CPU MANUAL EPSON 81CHAPTER 4: INSTRUCTION SETBIT [%ir],imm4BIT [%ir]+,imm4Test bit of location [ir reg.] with immediate data imm4 and

Seite 140

82 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETCALR [addr6] Call subroutine at relative location [addr6] 2 cyclesFunction: ([(SP1-1)*4+3]

Seite 141 - EPSON 135

S1C63000 CORE CPU MANUAL EPSON 83CHAPTER 4: INSTRUCTION SETCALZ imm8 Call subroutine at location imm8 1 cycleFunction: ([(SP1-1)*4+3]~[(SP1-1)*4]) ←

Seite 142 - SUB %r,[%ir]

S1C63000 CORE CPU MANUAL EPSON 3CHAPTER 1: OUTLINETable 1.4.1(b) Input/output signal list (2)Type I/OII/OI/OOOOIOIIOOOOOOOFunctionTerminal nameData b

Seite 143 - SUB [%ir],%r

84 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETCMP %r,%r’CMP %r,imm4 Compare r reg. with immediate data imm4 1 cycleFunction: r - imm4Su

Seite 144 - SUB [%ir]+,imm4

S1C63000 CORE CPU MANUAL EPSON 85CHAPTER 4: INSTRUCTION SETCMP %r,[%ir]CMP %r,[%ir]+Compare r reg. with location [ir reg.] 1 cycleFunction: r - [ir]

Seite 145 - TST [addr6],imm2

86 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETCMP [%ir],%rCMP [%ir]+,%r Compare location [ir reg.] with r reg. and increment ir reg. 1

Seite 146

S1C63000 CORE CPU MANUAL EPSON 87CHAPTER 4: INSTRUCTION SETCMP [%ir],imm4CMP [%ir]+,imm4Compare location [ir reg.] with immediate data imm4 and incr

Seite 147 - EPSON 141

88 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETCMP %ir,imm8DEC [addr6]Compare ir reg. with immediate data imm8 1 cycleFunction: ir - imm

Seite 148

S1C63000 CORE CPU MANUAL EPSON 89CHAPTER 4: INSTRUCTION SETDEC [ir],n4 Decrement location [ir] in specified radix 2 cyclesFunction: [ir] ← N’s adjust

Seite 149 - XOR [%ir]+,imm4

90 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETDEC %spEX %A,%B Exchange A reg. and B reg. 1 cycleFunction: A ↔ BExchanges the contents o

Seite 150

S1C63000 CORE CPU MANUAL EPSON 91CHAPTER 4: INSTRUCTION SETEX %r,[%ir] Exchange r reg. and location [ir reg.] 2 cyclesFunction: r ↔ [ir]Exchanges the

Seite 151

92 EPSON S1C63000 CORE CPU MANUALCHAPTER 4: INSTRUCTION SETHALT Set CPU to HALT mode 2 cyclesFunction: HaltSets the CPU to HALT status.The CPU stops o

Seite 152

S1C63000 CORE CPU MANUAL EPSON 93CHAPTER 4: INSTRUCTION SETINC [ir],n4 Increment location [ir] in specified radix 2 cyclesFunction: [ir] ← N’s adjust

Kommentare zu diesen Handbüchern

Keine Kommentare