Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HMS91C8032 Datasheet(PDF) 12 Page - Hynix Semiconductor

Part # HMS91C8032
Description  HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
PDF  157 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HYNIX [Hynix Semiconductor]
Direct Link  http://www.skhynix.com/kor/main.do
Logo HYNIX - Hynix Semiconductor

HMS91C8032 Datasheet(HTML) 12 Page - Hynix Semiconductor

Back Button HMS91C8032 Datasheet HTML 8Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 9Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 10Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 11Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 12Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 13Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 14Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 15Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 16Page - Hynix Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 157 page
background image
HMS91C8032/97C8032
NOV., 2001 Ver 1.02
9
Register Instructions
The register banks, containing registers R0 through R7, can be
accessed by certain instructions which carry a 3-bit register spec-
ification within the opcode of the instruction. Instructions that ac-
cess the registers this way are code efficient, since this mode
eliminates an address byte. When the instruction is executed, one
of the eight registers in the selected bank is accessed. One of four
banks is selected at execution time by the two bank select bits in
the PSW.
Register-Specific Instructions
Some instructions are specific to a certain register. For example,
some instructions always operate on the Accumulator, or Data
Pointer, etc., so no address byte is needed to point to it. The op-
code itself does that. Instructions that refer to the Accumulator as
A assemble as accumulator specific opcodes.
Immediate Constants
The value of a constant can follow the opcode in Program Mem-
ory. For example,
MOV A, #100
loads the Accumulator with the decimal number 100. The same
number could be specified in hex digits as 64H.
Indexed Addressing
Only Program Memory can be accessed with indexed addressing,
and it can be read. This addressing mode is intended for reading
look-up tables in Program Memory. A 16-bit base register (either
DPTR or the Program Counter) points to the base of the table, and
the Accumulator is set up with the table entry number.
The address of the table entry in Program Memory is formed by
adding the Accumulator data to the base pointer.
Another type of indexed addressing is used in the "case jump" in-
struction. In this case the destination address of a jump instruction
is computed as the sum of the base pointer and the Accumulator
data.
3.3 Arithmetic Instructions
The arithmetic instructions is listed in Table 3-1. The table indi-
cates the addressing modes that can be used with each instruction
to access the <byte> operand. For example, the ADD A, <byte>
instruction can be written as:
ADD
a, 7FH (direct addressing)
ADD
A, @R0 (indirect addressing)
ADD
a, R7
(register addressing)
ADD
A, #127 (immediate constant)
Note that any byte in the internal Data Memory space can be in-
cremented without going through the Accumulator.
One of the INC instructions operates on the 16-bit Data Pointer.
The Data Pointer is used to generate 16-bit addresses for external
memory, so being able to increment it in one 16-bit operations is
a useful feature.
The MUL AB instruction multiplies the Accumulator by the data
in the B register and puts the 16-bit product into the concatenated
B and Accumulator registers.
The DIV AB instruction divides the Accumulator by the data in
the B register and leaves the 8-bit quotient in the Accumulator,
and the 8-bit remainder in the B register.
MNEMONIC
OPERATION
ADDRESSING MODES
Dir
Ind
Reg
Imm
ADD A,<byte>
A = A+<byte>
X
X
X
X
ADDC A,<byte>
A = A+<byte>+C
X
X
X
X
SUBB A,<byte>
A = A-<byte>-C
X
X
X
X
IN C
A = A+1
Accumulator only
INC <byte>
<byte> = <byte>+1
X
X
X
INC DPTR
DPTR = DPTR+1
Data Pointer only
DEC A
A = A-1
Accumulator only
DEC <byte>
<byte> = <byte>-1
X
X
X
MUL AB
B:A = B x A
ACC and B only
DIV AB
A = Int[A/B]
B = Mod[A/B]
ACC and B only
DA A
Decimal Adjust
Accumulator only
Table 3-1 HMS9XC8032 Arithmetic Instructions



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com