20-668-0003 Rabbit Semiconductor, 20-668-0003 Datasheet - Page 33

IC CPU RABBIT2000 30MHZ 100PQFP

20-668-0003

Manufacturer Part Number
20-668-0003
Description
IC CPU RABBIT2000 30MHZ 100PQFP
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-668-0003

Processor Type
Rabbit 2000 8-Bit
Speed
30MHz
Voltage
2.7V, 3V, 3.3V, 5V
Mounting Type
Surface Mount
Package / Case
100-MQFP, 100-PQFP
Data Bus Width
8 bit
Maximum Clock Frequency
30 MHz
Operating Supply Voltage
0 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
40
Number Of Timers
8 & 10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
20-668-0003
316-1062

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
20-668-0003
Manufacturer:
Rabbit Semiconductor
Quantity:
10 000
The
sets HL to the value 1 if HL is non zero, otherwise, if HL is zero its value is not changed.
The flags are set according to the result.
The
comparisions. The
the carry bit. The carry out is inverted compared to the carry that would be expected if the
number subtracted was negated and added. The following examples illustrate the use of
the
In order to compare signed numbers using the
the numbers into an equivalent set of unsigned numbers by inverting the sign bit of each
number before performing the comparison. This maps the most negative number 0x08000
to the smallest unsigned number 0x0000, and the most positive signed number 0x07FFF to
the largest unsigned number 0x0FFFF. Once the numbers have been converted, the com-
parision can be done as for unsigned numbers. This procedure is faster than using a jump
tree that requires testing the sign and overflow bits.
Chapter 3 Details on Rabbit Microprocessor Features
SBC
BOOL
SBC
BOOL
BOOL
BOOL
ALTD BOOL HL
ALTD BOOL IY
OR a
SBC HL,DE ; if C==0 then HL>=DE else if C==1 then HL<DE
SBC HL,HL ; sets HL==0 if C==0, sets HL==0x0ffff if C==1
BOOL HL
SBC HL,HL ; HL==0 if C==0 else HL==ffff if C=1
INC HL
ADD HL,HL ; shift left
CCF
RR HL
RL DE
CCF
RR DE
SBC HL,DE ; no carry if HL>=DE
SBC HL,HL ; zero if no carry else -1
INC HL
BOOL
and
instruction can be used in conjunction with the
instruction is a special instruction designed to help test the HL register.
; example - test for HL>=DE where HL and DE are signed numbers
; invert sign bits on both
BOOL
HL
IX
IY
; Test if HL>=DE - HL and DE unsigned numbers 0-65535
; clear carry
; convert the carry bit into a boolean variable in HL
;
; HL==1 if C was set, otherwise HL==0
;
; convert not carry bit into boolean variable in HL
; HL==1 if C==0 else HL==0 if C==1
; note carry flag set, but zero / sign flags reversed
; invert carry
; rotate right
; invert DE sign
; generate boolean variable true if HL>=DE
; 1 if no carry, else zero
; use this instruction to set flags if needed
instructions.
SBC
; set HL to 1 if non- zero, set flags to match HL
; set HL' an f' according to HL
; modify IY and set f' with flags of result
instruction subtracts one register from another and also subtracts
BOOL
SBC
can also operate on IX and IY.
instruction, the programmer can map
BOOL
instruction for performing
BOOL
27

Related parts for 20-668-0003