Intel 8080 manual I 0 I 1 I 1 I, I 1 I 1 o I 1 I 1 I, ~11~, 1 1 1, Ora M

Models: 8080

1 262
Download 262 pages 56.67 Kb
Page 53
Image 53

ANI data (AND immediate)

(A) ~ (A) /\ (byte 2)

The content of the second byte of the instruction is logicaJly anded with the contents of the accumu lator . The result is placed in the accumulator. The CY and AC flags are cleared.

I 1 o I 0 I 1 I 1 I 0

data

Cycles: 2

States: 7

Addressing: immediate

Flags: Z,S,P ,CY ,AC

XRA r (Exclusive OR Register)

(A) ~ (A) V (r)

The content of register r is exclusive-or'd with the content of the accumulator. The result is placed in the accumulator. The CY and AC flags are cleared.

Cycles: 1

States: 4

Addressing: register

Flags: Z,S,P,CY,AC

XRA M (Exclusive OR Memory)

(A) ~ (A) V ((H) (L))

The content of the memory location whose address is contained in the Hand L registers is exclusive-O R'd with the content of the accumulator. The result is placed in the accumulator. The CY and AC flags are cleared.

I 0

o

I 0

 

Cycles:

2

 

States:

7

 

Addressing:

reg. indirect

 

Flags:

Z,S,P,CY,AC

XRI data (Exclusive OR immediate)

(A) ~ (A) V (byte 2)

The content of the second byte of the instruction is exclusive-O R'd with the content of the accumu lator. The result is placed in the accumulator. The CY and AC flags are cleared.

. 1~_1_1~

0 1--..1 ' _1__ 1 __ 0 _

 

 

1

1

.

data

 

 

 

Cycles:

2

 

 

States:

7

 

 

Addressing:

immediate

 

 

Flags:

Z,S,P ,CY ,AC

 

ORA r

(OR Register)

(A) ~ (A) V (r)

The content of register r is inclusive-OR'd with the content of the accumulator. The result is placed in the accumulator. The CY and AC flags are cleared.

I 0 I

I 1

Cycles: 1

States: 4

Addressing: register

Flags: Z,S,P,CY,AC

ORA M

(OR memory)

(A) ~ (A) V ((H) (L))

The content of the memory location whose address is contained in the Hand L registers is inclusive-OR'd with the content of the accumu lator. The result is placed in the accumulator. The CY and AC flags are cleared.

I a I 1 I 1 o I 1 I 1 I 0

 

Cycles:

2

 

States:

7

 

Addressing:

reg. indirect

 

Flags:

Z,S,P ,CY ,AC

ORI data

(OR Immediate)

(A) ~ (A) V (byte 2)

 

The content of the second byte of the instruction is inclusive-OR'd with the content of the accumulator. The result is placed in the accumulator. The CY and AC flags are cleared.

11

data

Cycles: 2

States: 7

Addressing: immediate

Flags: Z,S,P,CY,AC

CMP r (Compare Register)

(A)(r)

The content of register r is subtracted from the ac- cumulator. The accumulator remains unchanged. The condition flags are set as a result of the subtraction. The Z flag is set to 1 if (A) = (r). The CY flag is set to 1 if (A) < (r) .

I 0 I 1

Cycles: 1

States: 4

Addressing: register

Flags: Z,S,P,CY,AC

4-9

Page 53
Image 53
Intel 8080 manual I 0 I 1 I 1 I, I 1 I 1 o I 1 I 1 I, ~11~, 1 1 1, Ora M