Scrigroup - Documente si articole

     

HomeDocumenteUploadResurseAlte limbi doc
BulgaraCeha slovacaCroataEnglezaEstonaFinlandezaFranceza
GermanaItalianaLetonaLituanianaMaghiaraOlandezaPoloneza
SarbaSlovenaSpaniolaSuedezaTurcaUcraineana

AdministrationAnimalsArtBiologyBooksBotanicsBusinessCars
ChemistryComputersComunicationsConstructionEcologyEconomyEducationElectronics
EngineeringEntertainmentFinancialFishingGamesGeographyGrammarHealth
HistoryHuman-resourcesLegislationLiteratureManagementsManualsMarketingMathematic
MedicinesMovieMusicNutritionPersonalitiesPhysicPoliticalPsychology
RecipesSociologySoftwareSportsTechnicalTourismVarious

Z80 CPU architecture

computers



+ Font mai mare | - Font mai mic



Z80 CPU architecture

The Z80 CPU is an 8-bits processor witch was constructed in the beginning of July 1976, with ideas from Intel 8080. That was before the Intel-Company started, and made a better 8080-processor, with backward compatibility and with a lot of new instructions.

The interesting thing about the Z80-CPU is that you can all ready see the beginning to: what was about to become pipelined constructions. The Z80 CPU became fast a very popular Processor for small systems - especially later when the processor fall in prize. Now a Z80-processor costs about a dollar, and many are using it of tradition, witch make it even more popular, if you look at the homepage of Zilog, then you will see that today there is a lot of new variants of chips for Z80 systems, used in a wide range of applications.



Processor architecture:

The Z80 CPU has a very interesting architecture. First of all it has 'fetch/execute overlapping', witch means that it's possible to get (fetch) next instruction from memory while the first instruction are executed. This system is also used in the Intel 8080, and other processors from that time. Another thing that is typical from that time is that those processors areCISC-processors, and that they have variable instructions length. The Z80 CPU instructions-length can be from one to four bytes long. To increase the Z80 CPU speed most instructions are only one byte long. 252 instructions are one byte, the rest are 2, 3 or 4 bytes long.


Fig 1. Fetch/execute overlap.

Another aspect in processor- architecture are the number of internal registers, and if they are dedicated to special purposes. The Z80 CPU internal organization is made visible on the figure below:


Fig 2. Z80 CPU internal organization.

It shows on the figure: 20 - 8-bits registers, and 4 - 16-bits registers. The four 16-bits registers are: PC (Program Counter), SP (Stack Pointer) and the two Index-registers, IX and IY.

The 20 - 8-bit registers are grouped into two banks with 10 registers. 8 witch can be used together as 4 - 16-bit register-pairs, an 8-bit accumulator and a 8-bit flag-register. The Accumulator A, are used for all calculations. The F-register (flags) are used to determine if the result is positive, negative, zero etc

The Register-pairs BC and DE are mostly used for counters and storage of part-results. The Register-pair HL can be used in a wide range of instructions mostly as addressing (pointing to memory). The forgotten registers W and Z are only used for internal operations in the processor, like jump to new addresses. (The CPU can only transfer 8 bits at a time, so to transfer (load) a 16-bit address, it will first store it in WZ) .

The registers B, C, D, E, F, H, L, W and Z can be changed very fast with B', C', D', E', F', H', L', W' and Z', with the instruction EXX. For this purpose a MUX is used, witch is the fastest way to change the value in 9 registers with 9 others. The A and F are switched with A' and F' with the instruction EX AF,AF'. This finesse are mostly used with interrupt routines, so that the main program are using the main set of registers and the interrupt routine are using the EXX registers, this speeds up the interrupt routine, which can be important in embedded applications.

The Z80 CPU has with Intel, inspired to the global processor development and are still alive today more than 20 years after it's construction and it seems like it will continue to live many years more.

Info source: Programming the Z80 by Rodney Zaks. From SYBEX (ISBN: 0-89588-094-6)

Microcomputer systems are extremely simple to construct using the Z-80 components. Any such system consists of tree parts:

1. Z80 CPU (Centrel Processing Unit)

2. Memory (ROM and RAM)

3. Interface circuits to peripheral devices

The CPU is the heart of the system. Its function is to obtain instructions from the memory and perform the desired operations. The memory is used to contain instructions and in most cases data that is to be processed. For example, a typical instruction sequence may be to read data from a specific peripheral device, store it in a location in memory, check the parity and write it out to another peripheral device. Note that the Zilog component set includes the CPU and various general purpose I/O device controllers, while a wide range of memory devices may be used from any source. Thus, all required components can be connected together in a very simple manner with virtually no external logic. The user's effort then becomes primarily one of software development. That is, the user can concentrate on describing his problem and translating it into a series of instructions that can bo loaded into a microcomputer memory. Zilog is dedicated to making this step of software generation as simple as possible. A good example of this is our assembly language in which a simple mnemonic is used to represent every instruction that the CPU can perform. This language is self documenting in such way that from the mnemonic the user can understand exactly what the instruction is doing without constantly checking back to a complex cross listing.

DESCRIPTION

The Z80 microprocessor is an 8 bit CPU with a 16 bit address bus capable of direct access of 64k of memory space. It has a language of 252 root instructions and with the reserved 4 bytes as prefixes, acceses an additional 308 instructions. The Z80 was modeled after the 8080 and contains the 78 - 8080 opcodes as a subset to it's language.

Programming features include an accumulator and six eight bit registers that can be paired as 3-16 bit registers. In addition to the general registers, a stack-pointer, program-counter, and two index (memory pointers) registers are provided. While not in the same leauge as the 80486 or 68000 series, the Z80 is extremely useful for low cost control applications. One of the more useful features of the Z80 is the built-in refresh circuitry for ease of design with DRAMs.

The Z80 comes in a 40 pin DIP package. And resently also in a 44 pin SMD and QFP. It has been manufactured in A, B, and C models, differing only in maximum clock speed. It also has been manufactured as a stand-alone microcontroler with various configurations of on-chip RAM and EPROM.

Z80 CPU Pin Description:


_________ _________
_| __/ |_
<-- A11 |_|1 40|_| A10 -->
_| |_
<-- A12 |_|2 39|_| A9 -->
_| |_
<-- A13 |_|3 Z80 CPU 38|_| A8 -->
_| |_
<-- A14 |_|4 37|_| A7 -->
_| |_
<-- A15 |_|5 36|_| A6 -->
_| |_
--> CLK |_|6 35|_| A5 -->
_| |_
<--> D4 |_|7 34|_| A4 -->
_| |_
<--> D3 |_|8 33|_| A3 -->
_| |_
<--> D5 |_|9 32|_| A2 -->
_| |_
<--> D6 |_|10 31|_| A1 -->
_| |_
VCC |_|11 30|_| A0 -->
_| |_
<--> D2 |_|12 29|_| GND
_| |_
<--> D7 |_|13 28|_| /RFSH -->
_| |_
<--> D0 |_|14 27|_| /M1 -->
_| |_
<--> D1 |_|15 26|_| /RESET <--
_| |_
--> /INT |_|16 25|_| /BUSRQ <--
_| |_
--> /NMI |_|17 24|_| /WAIT <--
_| |_
<-- /HALT |_|18 23|_| /BUSAK -->
_| |_
<-- /MREQ |_|19 22|_| /WR -->
_| |_
<-- /IORQ |_|20 21|_| /RD -->
|_____ _______ ______ _______|





Z80 CPU SMD and QFP Pin Description:


A lot of people have been requesting the Z80 pinouts. Well, here they are,
directly from the Zilog Z80 Microprocessor Family Databook.

44 pin QFP:


1 - CLK 2 - D4 3 - D3 4 - D5 5 - D6
6 - +5V 7 - D2 8 - D7 9 - D0 10 - D1
11 - NC 12 - ~INT 13 - ~NMI 14 - ~HALT 15 - ~MREQ
16 - ~IORQ 17 - NC 18 - ~RD 19 - ~WR 20 - ~BUSACK
21 - ~WAIT 22 - ~BUSREQ 23 - ~RESET 24 - ~M1 25 - ~RFSH
26 - GND 27 - A0 28 - A1 29 - A2 30 - A3
31 - A4 32 - A5 33 - NC 34 - A6 35 - A7
36 - A8 37 - A9 38 - A10 39 - NC 40 - A11
41 - A12 42 - A13 43 - A14 44 - A15


The '~' stands for 'not' ( i.e. active low ). The pins are counted
counter-clockwise, pin 1 starting from the bevel ( or the corner dot ).
This may be different on the Toshiba chip used in the TI so I assume no
responsibility for anyone frying their calc.


Z80 PIO Pin Description


_________ _________
_| __/ |_
<--> D2 |_|1 40|_| D3 <-->
_| |_
<--> D7 |_|2 39|_| D4 <-->
_| |_
<--> D6 |_|3 Z80 PIO 38|_| D5 <-->
_| |_
--> /CE |_|4 37|_| /M1 <--
_| |_
--> C/D |_|5 36|_| /IORQ <--
_| |_
--> B/A |_|6 35|_| /RD <--
_| |_
<--> PA7 |_|7 34|_| PB7 <-->
_| |_
<--> PA6 |_|8 33|_| PB6 <-->
_| |_
<--> PA5 |_|9 32|_| PB5 <-->
_| |_
<--> PA4 |_|10 31|_| PB4 <-->
_| |_
GND |_|11 30|_| PB3 <-->
_| |_
<--> PA3 |_|12 29|_| PB2 <-->
_| |_
<--> PA2 |_|13 28|_| PB1 <-->
_| |_
<--> PA1 |_|14 27|_| PB0 <-->
_| |_
<--> PA0 |_|15 26|_| VCC +5V
_| |_
--> /AOE |_|16 25|_| CLOCK <--
_| |_
--> /BOE |_|17 24|_| INT ENABLE IN <--
_| |_
<-- AREADY |_|18 23|_| /INT -->
_| |_
<-- D0 |_|19 22|_| INT ENABLE OUT -->
_| |_
<-- D1 |_|20 21|_| BREADY -->
|_____ _______ ______ _______|

C/D CONTROL=1, DATA=0
B/A PORT B=1, PORT A=0
Z80 5seconds Timer for 10MHz




MAIN: CALL TIMER5



TIMER5: LD E,35H
J60: LD B,0FFH
J61: LD D,0FFH
J62: DEC D
JP NZ,J62
DEC B
JP NZ,J61
DEC E
JP NZ,J60
RET







Z80 multivibrator

Point: Use Loop Output 00H and FFH at 1 second interval.

ORG 0000H
LD SP,0FFFFH

PPI1 EQU 37H
PORTB1 EQU 35H

LD A,90H
OUT (PPI1),A

LOOP: LD A,0
OUT (PORTB1),A
CALL TIMER1
LD A,0FFH
OUT (PORTB1),A
CALL TIMER1
JP LOOP

TIMER1: LD E,0AH
J50: LD B,0FFH
J51: LD D,0FFH
J52: DEC D
JP NZ,J52
DEC B
JP NZ,J51
DEC E
JP NZ,J50
RET

END

Anexa 4

Transferuri pe 8 biti
Transferuri pe 16 biti
Schimburi intre registre, transfer de blocuri, cautari
Operatii aritmetice si logice pe 8 biti
Operatii aritmetice generale si operatii de comanda
Operatii aritmetice pe 16 biti
Prelucrari pe bit
Salturi
Apeluri de subrutine, reveniri, instructiuni de restart
Operatii de intrare/ iesire

Transferuri pe 8 biti

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

LD r, r,

r r,

01 r r,

LD r, n

r n

00 r 110

n

LD r, (HL)

r (HL)

01 r 110

LD r, (IX+d)

r (IX+d)

01 r 101

d

DD

LD r, (IY+d)

r (IY+d)

01 r 110

d

FD

LD (HL), r

(HL) r

01110 r

LD (IX+d), r

(IX+d) r

01110 r

d

DD

LD (IY+d), r

(IY+d) r

01110 r

d

FD

LD (HL), n

(HL) n

n

LD (IX+d), n

(IX+d) n

d

n

DD

LD (IY+d), n

(IY+d) n

d

n

FD

LD A, (BC)

A (BC)

0A

LD A, (DE)

A (DE)

1A

LD A, (nn)

A (nn)

n

n

3A

LD (BC), A

(BC) A

LD (DE), A

(DE) A

LD (nn), A

(nn) A

n

n

LD A, I

A I

ED

IFF

LD A, R

A R

ED

5F

IFF

LD I, A

I A

ED

LD R, A

R A

ED

4F

Transferuri pe 16 biti

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

LD dd, nn

dd nn

00dd0001

n

n

LD IX, nn

IX nn

n

n

DD

LD IY, nn

IY nn

n

n

FD

LD HL, (nn)

H nn+1)

L nn)

n

n

2A

LD dd, (nn)

ddH nn+1)

ddL nn)

01dd1011

n

n

ED

LD IX, (nn)

IXH nn+1)

IXL nn)

n

n

DD

2A

LD IY, (nn)

IYH nn+1)

IYL nn)

n

n

FD

2A

LD (nn), HL

nn+1) H

(nn) L

n

n

LD (nn), dd

nn+1) ddH

(nn) ddL

01dd0011

n

n

ED

LD (nn), IX

nn+1) IXH

(nn) IXL

n

n

DD

LD (nn), IY

nn+1) IYH

(nn) IYL

n

n

FD

LD SP, HL

SP HL

F9

LD SP, IX

SP IX

DD

F9

LD SP, IY

SP IY

FD

F9

PUSH qq

(SP-2) qqL

(SP-1) qqH

SP SP-2

11qq0101

PUSH IX

(SP-2) IXL

(SP-1) IXH

SP SP-2

DD

E5

PUSH IY

(SP-2) IYL

(SP-1) IYH

SP SP-2

FD

E5

POP qq

qqH (SP+1)

qqL SP

SP SP+2

11qq0001

POP IX

IXH (SP+1)

IXL SP

SP SP+2

DD

E1

POP IY

IYH (SP+1)

IYL SP

SP SP+2

FD

E1

Schimburi intre registre, transfer de blocuri, cautari

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

EX DE, HL

DE HL

EB

EX AF, AF

AF AF

EXX

BC BC

DE DE

HL HL

D9

EX (SP), HL

H (SP+1)

L (SP)

E3

EX (SP), IX

IXH (SP+1)

IXL (SP)

DD

E3

EX (SP), IY

IYH (SP+1)

IYL (SP)

FD

E3

LDI

(DE) (HL)

DE DE+1

HL HL+1

BC BC-1

ED

A0

LDIR

(DE) (HL)

DE DE+1

HL HL+1

BC BC-1

se repeta pana cand BC=0

ED

B0

LDD

(DE) (HL)

DE DE-1

HL HL-1

BC BC-1

ED

A8

LDDR

(DE) (HL)

DE DE-1

HL HL-1

BC BC-1

se repeta pana cand BC=0

ED

B8

CPI

A - (HL)

HL HL+1

BC BC-1

ED

A1

CPIR

A - (HL)

HL HL+1

BC BC-1

se repeta pana cand A=(HL) sau BC=0

ED

B1

CPD

A - (HL)

HL HL-1

BC BC-1

ED

A9

CPIR

A - (HL)

HL HL-1

BC BC-1

se repeta pana cand A=(HL) sau BC=0

ED

B9

Operatii aritmetice si logice pe 8 biti

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

ADD A, r

A A+r

10000 r

V

ADD A, n

A A+n

n

C6

V

ADD A, (HL)

A A+(HL)

V

ADD A, (IX+d)

A A+(IX+d)

d

DD

V

ADD A, (IY+d)

A A+(IY+d)

d

FD

V

ADC A, r

A A+r+CY

10001 r

V

ADC A, n

A A+n+CY

n

CE

V

ADC A, (HL)

A A+(HL) +CY

8E

V

ADC A, (IX+d)

A A+(IX+d) +CY

d

DD

8E

V

ADC A, (IY+d)

A A+(IY+d) +CY

d

FD

8E

V

SUB r

A A-r

10010 r

V

SUB n

A A-n

n

D6

V

SUB (HL)

A A-(HL)

V

SUB (IX+d)

A A-(IX+d)

d

DD

V

SUB (IY+d)

A A-(IY+d)

d

FD

V

SBC A, r

A A-r-CY

10011 r

V

SBC A, n

A A-n-CY

n

DE

V

SBC A, (HL)

A A-(HL)

-CY

9E

V

SBC A, (IX+d)

A A-(IX+d) -CY

d

DD

9E

V

SBC A, (IY+d)

A A-(IY+d) -CY

d

FD

9E

V

AND r

A A r

10100 r

P

AND n

A A n

n

E6

P

AND (HL)

A A (HL)

A6

P

AND (IX+d)

A A (IX+d)

d

DD

A6

P

AND (IY+d)

A A (IY+d)

d

FD

A6

P

OR r

A A r

10110 r

P

OR n

A A n

n

F6

P

OR (HL)

A A (HL)

B6

P

OR (IX+d)

A A (IX+d)

d

DD

B6

P

OR (IY+d)

A A (IY+d)

d

FD

B6

P

XOR r

A A r

10101 r

P

XOR n

A A n

n

EE

P

XOR (HL)

A A (HL)

AE

P

XOR (IX+d)

A A (IX+d)

d

DD

AE

P

XOR (IY+d)

A A (IY+d)

d

FD

AE

P

CP r

A - r

10111 r

V

CP n

A - n

n

FE

V

CP (HL)

A - (HL)

BE

V

CP (IX+d)

A - (IX+d)

d

DD

BE

V

CP (IY+d)

A - (IY+d)

d

FD

BE

V

INC r

r r+1

00 r 100

V

INC (HL)

(HL) (HL)+1

V

INC (IX+d)

(IX+d) (IX+d) + 1

d

DD

V

INC (IY+d)

(IY+d) (IY+d) + 1

d

FD

V

DEC r

r r-1

00 r 101

V

DEC (HL)

(HL) (HL)-1

V

DEC (IX+d)

(IX+d) (IX+d) - 1

d

DD

V

DEC (IY+d)

(IY+d) (IY+d) - 1

d

FD

V

Operatii aritmetice generale si operatii de comanda

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

DAA

Converteste continutul lui A in format BCD dupa adunari sau scaderi cu operanzi BCD

P

CPL

A /A

2F

NEG

A 0 - A

ED

V

CCF

CY /CY

3F

x

SCF

CY

NOP

HALT

Oprire CPU

DI

IFF 1,2

F3

EI

IFF 1,2

FB

IM 0

Stabilire mod intreruperi 0

ED

IM 1

Stabilire mod intreruperi 1

ED

IM 2

Stabilire mod intreruperi 2

ED

5E

Operatii aritmetice pe 16 biti

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

ADD HL, dd

HL HL+dd

00dd1001

x

ADC HL, dd

HL HL+dd +CY

01dd1010

ED

x

V

SBC HL, dd

HL HL-dd

-CY

01dd0010

ED

x

V

ADD IX, ss

IX IX+ss

01ss1001

DD

x

ADD IY, pp

IY IY+pp

00pp1001

FD

x

INC dd

dd dd+1

00dd0011

INC IX

IX IX+1

DD

INC IY

IY IY+1

FD

DEC dd

dd dd - 1

00dd1011

DEC IX

IX IX - 1

DD

2B

DEC IY

IY IY - 1

FD

2B

Operatii aritmetice pe 16 biti

Mnemonica Z80Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

RLCA

CY A7 A0 A7

RLA

CY A7 A0 CY

RRCA

0F

RRA

1F

RLC r

00000 r

CB

P

RLC (HL)

CB

P

RLC (IX+d)

d

DD

CB

P

RLC (IY+d)

d

FD

CB

P

RL r

00010 r

CB

P

RL (HL)

CB

P

RL (IX+d)

d

DD

CB

P

RL (IY+d)

d

FD

CB

P

RRC r

00001 r

CB

P

RRC (HL)

CB

0E

P

RRC (IX+d)

d

DD

CB

1E

P

RRC (IY+d)

d

FD

CB

1E

P

RR r

00011 r

CB

P

RR (HL)

CB

1E

P

RR (IX+d)

d

DD

CB

1E

P

RR (IY+d)

d

FD

CB

1E

P

SLA r

00100 r

CB

P

SLA (HL)

CB

P

SLA (IX+d)

d

DD

CB

P

SLA (IY+d)

d

FD

CB

P

SRA r

00101 r

CB

P

SRA (HL)

CB

2E

P

SRA (IX+d)

d

DD

CB

2E

P

SRA (IY+d)

d

FD

CB

2E

P

SRL r

00111 r

CB

P

SRL (HL)

CB

3E

P

SRL (IX+d)

d

DD

CB

3E

P

SRL (IY+d)

d

FD

CB

3E

P

RLD

ED

6F

P

RRD

ED

P

Prelucrari pe bit

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

BIT b, r

Z /rb

01 b r

CB

x

x

BIT b, (HL)

Z /(HL)b

01 b 110

CB

x

x

BIT b, (IX+d)

Z /(IX+d)b

d

01 b 110

DD

CB

x

x

BIT b, (IY+d)

Z /(IY+d)b

d

01 b 110

FD

CB

x

x

SET b, r

rb

11 b r

CB

SET b, (HL)

(HL)b

11 b 110

CB

SET b, (IX+d)

(IX+d)b

d

11 b 110

DD

CB

SET b, (IY+d)

(IY+d)b

d

11 b 110

FD

CB

RES b, r

rb

10 b r

CB

RES b, (HL)

(HL)b

10 b 110

CB

RES b, (IX+d)

(IX+d)b

d

10 b 110

DD

CB

RES b, (IY+d)

(IY+d)b

d

10 b 110

FD

CB

Salturi

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

JP nn

PC nn

n

n

C3

JP cc, nn

daca cc

PC nn

altfel continua

11 cc 010

n

n

JR e

PC PC+e

e - 2

JR C, e

daca C = 1

PC PC+e

altfel continua

e - 2

JR NC, e

daca C = 0

PC PC+e

altfel continua

e - 2

JR Z, e

daca Z = 1

PC PC+e

altfel continua

e - 2

JR NZ, e

daca Z = 0

PC PC+e

altfel continua

e 2

JP (HL)

PC HL

E9

JP (IX)

PC IX

DD

E9

JP (IY)

PC IY

FD

E9

DJNZ e

B B - 1

daca B <> 0

PC PC+e

altfel continua

e - 2

Apeluri de subrutine, reveniri, instructiuni de restart

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

CALL nn

(SP-1) PCH

(SP-2) PCL

PC nn

n

n

CD

CALL cc, nn

daca cc=1

CALL nn

altfel continua

11 cc 100

n

n

RET

PCH (SP)

PCL (SP+1)

C9

RET cc

daca cc=1

RET

altfel continua

11 cc 000

RETI

Revenire din intrerupere

ED

4D

RETN

Revenire din intrerupere nemascabila

ED

RST p

(SP-1) PCH

(SP-2) PCL

PCH

PCL p

11 t 111

Operatii de intrare/ iesire

Mnemonica Z80

Descrierea

simbolica

Cod obiect

Indicatorii de conditii

Binar

Hexa

S

Z

H

P/V

N

C

IN A, (n)

A (n)

n

DB

IN r, (C)

r (C)

01 r 000

ED

P

INI

(HL) (C)

B B - 1

HL HL + 1

ED

A2

x

x

x

x

INIR

(HL) (C)

B B - 1

HL HL + 1

se repeta pana cand B=0

ED

B2

x

x

x

x

IND

(HL) (C)

B B - 1

HL HL - 1

ED

AA

x

x

x

x

INDR

(HL) (C)

B B - 1

HL HL - 1

se repeta pana cand B=0

ED

BA

x

x

x

x

OUT (n), A

(n) A

n

D3

x

OUT (C), r

(C) r

01 r 001

ED

x

OUTI

(C) (HL)

B B - 1

HL HL + 1

ED

A3

x

x

x

x

OTIR

(C) (HL)

B B - 1

HL HL + 1

se repeta pana cand B=0

ED

B3

x

x

x

x

OUTD

(C) (HL)

B B - 1

HL HL - 1

ED

AB

x

x

x

x

OTDR

(C) (HL)

B B - 1

HL HL - 1

se repeta pana cand B=0

ED

BB

x

x

x

x

r, r

Registru

b

Bit testat

B

C

D

E

H

L

A

dd, qq, ss, pp

Registre - dd

Registre - qq

Registre - ss

Registre - pp

BC

BC

BC

BC

DE

DE

DE

DE

HL

HL

IX

IY

SP

AF

SP

SP



Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 1297
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved