COP8SA-DM National Semiconductor, COP8SA-DM Datasheet - Page 161
COP8SA-DM
Manufacturer Part Number
COP8SA-DM
Description
MODULE DEBUGGING FOR COP8SA
Manufacturer
National Semiconductor
Datasheet
1.DM-COP820D.pdf
(254 pages)
Specifications of COP8SA-DM
Module/board Type
Debugger Module
For Use With/related Products
Cop 8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
*COP8SA-DM
- Current page: 161 of 254
- Download datasheet (2Mb)
DIVIDE (16 16) SUBROUTINE
DIVIDEND IN [3,2]
DIVISOR IN [1,0]
QUOTIENT IN [3,2]
REMAINDER IN [5,4]
CNTR:
DIV:
LSHFT:
TSUBT:
SUBT:
TEST:
With a division where the dividend is larger than the divisor (relative to the number of
bytes), an additional test step must be added. This test determines whether a high-order
carry is generated from the left shift of the dividend through the test window. When this
carry occurs, the program branches directly to the SUBT subtract routine. This carry can
occur only if the divisor contains a high-order bit. Moreover, the divisor must also be
larger than the shifted dividend when the shift has placed a high-order bit in the test
window. When this case occurs, the TSUBT test subtract shows the divisor to be larger
than the shifted dividend and no real subtraction occurs. Consequently, the high-order
bit of the shifted dividend is again left shifted and results in a high-order carry. This test
is illustrated in the following program for a 24-by-8-bit binary division.
.SECT
.DSB 1
.SECT
LD
LD
LD
LD
LD
RC
LD
LD
ADC
X
LD
ADC
X
LD
ADC
X
LD
ADC
X
SC
LD
LD
SUBC
LD
LD
SUBC
IFNC
JP
LD
LD
SUBC
X
LD
LD
SUBC
X
LD
SBIT
DRSZ
JMP
RET
MEMCNT, REG
CODE, ROM
CNTR,#16
B,#5
[B-],#0
[B],#0
X,#4
B,#2
A,[B]
A,[B]
A,[B+]
A,[B]
A,[B]
A,[B+]
A,[B]
A,[B]
A,[B+]
A,[B]
A,[B]
A,[B+]
B,#0
A,[X+]
A,[B]
B,#1
A,[X-]
A,[B]
TEST
B,#0
A,[X]
A,[B]
A,[X+]
B,#1
A,[X]
A,[B]
A,[X-]
B,#2
0,[B]
CNTR
LSHFT
COP8SAx7 MICROCONTROLLER
2-123
Related parts for COP8SA-DM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROGRAMING UNIT FOR COP8SA PARTS
Manufacturer:
National Semiconductor
Part Number:
Description:
ADAPTER SOIC 16,20,28,44 PLCC
Manufacturer:
National Semiconductor
Part Number:
Description:
8-Bit CMOS ROM Based and One-Time Programmable OTP Microcontroller with 1k to 4k Memory/ Power On Reset/ and Very Small Packaging
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
National Semiconductor [8-Bit D/A Converter]
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
National Semiconductor [Media Coprocessor]
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Digitally Controlled Tone and Volume Circuit with Stereo Audio Power Amplifier, Microphone Preamp Stage and National 3D Sound
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Digitally Controlled Tone and Volume Circuit with Stereo Audio Power Amplifier, Microphone Preamp Stage and National 3D Sound
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
AC97 Rev 2 Codec with Sample Rate Conversion and National 3D Sound
Manufacturer:
National Semiconductor
Part Number:
Description:
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
General Purpose, Low Voltage, Low Power, Rail-to-Rail Output Operational Amplifiers
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
8-bit 20 MSPS flash A/D converter.
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Low Noise Quad Operational Amplifier
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Quad Differential Line Receivers
Manufacturer:
National Semiconductor
Datasheet: