Table des matières

Logical Opperators

AND

AND - Logical And

Performs a logical AND of the two operands replacing the destination with the result.

Usage:

	AND	dest,src

Modifies flags:

CF PF AF ZF SF OF

AF undefined

Clocks Size
Operands 808x 286 386 486 Bytes
reg,reg 3 2 2 1 2
mem,reg 16+EA 7 7 3 2-4 (W88=24+EA)
reg,mem 9+EA 7 6 1 2-4 (W88=13+EA)
reg,immed 4 3 2 1 3-4
mem,immed 17+EA 7 7 3 3-6 (W88=23+EA)
accum,immed 4 3 2 1 2-3
2023/02/25 20:37 · frater

OR

OR - Logical Or

Logical inclusive OR of the two operands returning the result in the destination. Any bit set in either operand will be set in the destination.

Usage:

	OR	dest,src

Modifies flags:

CF PF AF ZF SF OF

AF undefined

Clocks Size
Operands 808x 286 386 486 Bytes
reg,reg 3 2 2 1 2
mem,reg 16+EA 7 7 3 2-4 (W88=24+EA)
reg,mem 9+EA 7 6 1 2-4 (W88=13+EA)
reg,immed 4 3 2 1 3-4
mem8,immed8 17+EA 7 7 3 3-6
mem16,imed16 25+EA 7 7 3 3-6
accum,immed 4 3 2 1 2-3
2023/02/25 20:41 · frater

NOT

NOT - Logical Not

Inverts the bits of the “dest” operand forming the 1s complement, also called “ One's Compliment Negation”.

Usage:

	NOT	dest

Modifies flags:

none

Clocks Size
Operands 808x 286 386 486 Bytes
reg 3 2 2 1 2
mem 16+EA 7 6 3 2-4 (W88=24+EA)
2023/02/25 20:41 · frater

XOR

XOR- Exclusive Or

Performs a bitwise exclusive OR of the operands and returns the result in the destination.

Usage:

	XOR	dest,src

Modifies flags:

CF PF AF ZF SF OF

AF undefined

Clocks Size
Operands 808x 286 386 486 Bytes
reg,reg 3 2 2 1 2
mem,reg 16+EA 7 6 3 2-4 (W88=24+EA)
reg,mem 9+EA 7 7 2 2-4 (W88=13+EA)
reg,immed 4 3 2 1 3-4
mem,immed 17+EA 7 7 3 3-6 (W88=25+EA)
accum,immed 4 3 2 1 2-3
2023/02/25 20:42 · frater