Semiconductor Group
132
Instruction Set
9.2.3
Logic
The SAB 80(C)515/80(C)535 performs basic logic operations on both bit and byte operands.
Single-Operand Operations
– CLR sets A or any directly addressable bit to zero (0).
– SETB sets any directly bit-addressable bit to one (1).
– CPL is used to complement the contents of the A register without affecting any flag, or any
directly addressable bit location.
– RL, RLC, RR, RRC, SWAP are the five operations that can be performed on A. RL, rotate left,
RR, rotate right, RLC, rotate left through carry, RRC, rotate right through carry, and SWAP,
rotate left four. For RLC and RRC the CY flag becomes equal to the last bit rotated out. SWAP
rotates A left four places to exchange bits 3 through 0 with bits 7 through 4.
Two-Operand Operations
– ANL performs bitwise logical AND of two operands (for both bit and byte operands) and
returns the result to the location of the first operand.
– ORL performs bitwise logical OR of two source operands (for both bit and byte operands) and
returns the result to the location of the first operand.
– XRL performs logical Exclusive OR of two source operands (byte operands) and returns the
result to the location of the first operand.
9.2.4
Control Transfer
There are three classes of control transfer operations: unconditional calls, returns, jumps,
conditional jumps, and interrupts. All control transfer operations, some upon a specific condition,
cause the program execution to continue a non-sequential location in program memory.
*
Summary of Contents for SAB 80515 Series
Page 9: ...Semiconductor Group 9 Introduction Figure 1 2 Block Diagram ...
Page 12: ...Semiconductor Group 12 Fundamental Structure Figure 2 1 Detailed Block Diagram ...
Page 18: ...Semiconductor Group 18 Central Processing Unit Figure 3 1 Fetch Execute Sequence ...
Page 73: ...Semiconductor Group 73 On Chip Peripheral Components Figure 7 25 A D Converter Block Diagram ...
Page 83: ...Semiconductor Group 83 On Chip Peripheral Components Figure 7 33 a Timer 2 Block Diagram ...
Page 215: ...Device Specifications Semiconductor Group 215 ...
Page 217: ...Device Specifications Semiconductor Group 217 Pin Configuration P LCC 68 ...
Page 219: ...Device Specifications Semiconductor Group 219 Logic Symbol ...
Page 226: ...Device Specifications Semiconductor Group 226 Figure 1 Block Diagram ...
Page 229: ...Device Specifications Semiconductor Group 229 Figure 2 Memory Address Spaces ...
Page 239: ...Device Specifications Semiconductor Group 239 Figure 4 Block Diagram of the A D Converter ...
Page 241: ...Device Specifications Semiconductor Group 241 Figure 5 Interrupt Request Sources ...
Page 242: ...Device Specifications Semiconductor Group 242 Figure 6 Interrupt Priority Level Structure ...