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

X  

HCS12 Datasheet(PDF) 411 Page - Freescale Semiconductor, Inc

Part # HCS12
Description  HCS12 Microcontrollers
PDF  452 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

HCS12 Datasheet(HTML) 411 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 407Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 408Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 409Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 410Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 411Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 412Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 413Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 414Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 415Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 411 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
Freescale Semiconductor
411
The M68HC11 has one variation of indexed addressing that works from X
or Y as the reference pointer. For X indexed addressing, an 8-bit unsigned
offset in the instruction is added to the index pointer to arrive at the address
of the operand for the instruction. A load accumulator instruction assembles
into two bytes of object code, the opcode and a 1-byte offset. Using Y as the
reference, the same instruction assembles into three bytes (a page prebyte,
the opcode, and a 1-byte offset.) Analysis of M68HC11 source code
indicates that the offset is most frequently zero and seldom greater than
four.
The CPU12 indexed addressing scheme uses a postbyte plus 0, 1, or 2
extension bytes after the instruction opcode. These bytes specify which
index register is used, determine whether an accumulator is used as the
offset, implement automatic pre/post increment/decrement of indices, and
allow a choice of 5-, 9-, or 16-bit signed offsets. This approach eliminates
the differences between X and Y register use and dramatically enhances
indexed addressing capabilities.
Major improvements that result from this new approach are:
• Stack pointer can be used as an index register in all indexed
operations (very important for C compilers)
• Program counter can be used as index register in all but auto inc/dec
modes
• Accumulator offsets allowed using A, B, or D accumulators
• Automatic pre- or post- increment or decrement by –8 to +8
• 5-bit, 9-bit, or 16-bit signed constant offsets (M68HC11 only
supported positive unsigned 8-bit offsets)
• 16-bit offset indexed-indirect and accumulator D offset
indexed-indirect
The change completely eliminates pages three and four of the M68HC11
opcode map and eliminates almost all instructions from page two of the
opcode map. For offsets of 0 to +15 from the X index register, the object
code is the same size as it was for the M68HC11. For offsets of 0 to +15
from the Y index register, the object code is one byte smaller than it was for
the M68HC11.
Table A-3 and Table A-4 summarize CPU12 indexed addressing mode
capabilities. Table A-6 shows how the postbyte is encoded.



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