Contents - Alphabetical Listing of Instructions
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Document Conventions
- Processor Registers
- OpCode Descriptions
- ADC HL,ss
- ADD HL,ss
- ADD IX,xx
- ALTD
- AND (HL)
- AND HL,DE
- BIT b,(HL)
- CP (IX+d)
- DEC (HL)
- EX (SP),HL
- EX AF,AF
- INC (HL)
- IPSET
- IPRES
- LCALL x,mn
- LD (BC),A
- LD (HL+d),HL
- LD (IX+d),n
- LD (IY+d),n
- LD (mn),A
- LD (SP+n),HL
- LD A,(mn)
- LD A,IIR
- LD dd,(mn)
- LD dd,mn
- LD HL,(mn)
- LD HL,(SP+n)
- LD IX,(mn)
- LD IX,mn
- LD IY,(SP+n)
- LD r,(HL)
- LD SP,HL
- LDDR
- LDP (HL),HL
- LDP (mn),HL
- LDP HL,(HL)
- LDP HL,(mn)
- LJP x,mn
- OR (IY+d)
- OR HL,DE
- RES b,(HL)
- RETI
- RL (IX+d)
- RLC (HL)
- RLCA
- RR (IX+d)
- RRC (HL)
- RRCA
- SBC (IX+d)
- SBC HL,ss
- SET b,(HL)
- SLA (HL)
- SRA (HL)
- SRL (HL)
- SUB (HL)
- XOR (HL)
|
26 Rabbit 2000/3000 MicroprocessorDescriptionThe Carry Flag is inverted: If it is set, it becomes cleared. If it is not set, it becomes set.DescriptionCompares the data in the Accumulator with the data whose address is (a) contained in word register HL, (b)the sum of the data in index register IX plus a displacement value d, or (c) the sum of the data in index registerIY plus a displacement value d.These compares are accomplished by subtracting the appropriate data ((HL), (IX+d), or (IY+d)) from theAccumulator. If the value of the data in the Accumulator is less than the value of the data compared, then theSign Flag and the Carry Flag are set. If they are equal, the Zero Flag is set. If the data is greater than the datain the Accumulator, then the Sign, Carry, and Zero Flags are reset. This operation does not affect the data inthe Accumulator.CCFOpcode Instruction Clocks Operation3F CCF 2 CF = ~CFFlags ALTD I/OS Z L/V C F R SP S D- - - • •CP (HL)CP (IX+d)CP (IY+d)Opcode Instruction Clocks OperationBE CP (HL) 5 (2,1,2) A - (HL)DD BE d CP (IX + d) 9 (2,2,2,1,2) A - (IX + d)FE BE d CP (IY + d) 9 (2,2,2,1,2) A - (IY + d)Flags ALTD I/OS Z L/V C F R SP S D• • V • • •
PreviousNext |