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

X  

HCS12 Datasheet(PDF) 405 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) 405 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 401Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 402Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 403Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 404Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 405Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 406Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 407Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 408Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 409Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 405 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
Freescale Semiconductor
405
All of the translations produce the same amount of or slightly more object
code than the original M68HC11 instructions. However, there are offsetting
savings in other instructions. Y-indexed instructions in particular assemble
into one byte less object code than the same M68HC11 instruction.
The CPU12 has a 2-page opcode map, rather than the 4-page M68HC11
map. This is largely due to redesign of the indexed addressing modes. Most
of pages 2, 3, and 4 of the M68HC11 opcode map are required because
Y-indexed instructions use different opcodes than X-indexed instructions.
Approximately two-thirds of the M68HC11 page 1 opcodes are unchanged
in CPU12, and some M68HC11 opcodes have been moved to page 1 of the
CPU12 opcode map. Object code for each of the moved instructions is one
byte smaller than object code for the equivalent M68HC11 instruction.
Table B-2 shows instructions that assemble to one byte less object code on
the CPU12.
CLC
CLI
CLV
SEC
SEI
SEV
ANDCC #$FE
ANDCC #$EF
ANDCC #$FD
ORCC #$01
ORCC #$10
ORCC #$02
ANDCC and ORCC now allow more control
over the CCR, including the ability to set or
clear multiple bits in a single instruction. These
instructions take one byte each on M68HC11
while the ANDCC and ORCC equivalents take
two bytes each.
DES
INS
LEAS –1,S
LEAS 1,S
Unlike DEX and INX, DES and INS did not
affect CCR bits in the M68HC11, so the LEAS
equivalents in CPU12 duplicate the function of
DES and INS. These instructions are one byte
on M68HC11 and two bytes on CPU12.
TAP
TPA
TSX
TSY
TXS
TYS
XGDX
XGDY
TFR A,CCR
TFR CCR,A
TFR S,X
TFR S,Y
TFR X,S
TFR Y,S
EXG D,X
EXG D,Y
The M68HC11 has a small collection of specific
transfer and exchange instructions. CPU12
expanded this to allow transfer or exchange
between any two CPU registers. For all but TSY
and TYS (which take two bytes on either CPU),
the CPU12 transfer/exchange costs one extra
byte compared to the M68HC11. The substitute
instructions execute in one cycle rather than
two.
Table B-1. Translated M68HC11 Mnemonics (Continued)
M68HC11
Mnemonic
Equivalent
CPU12 Instruction
Comments



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