AN2616 Freescale Semiconductor / Motorola, AN2616 Datasheet - Page 57
![no-image](/images/no-image-200.jpg)
AN2616
Manufacturer Part Number
AN2616
Description
Getting Started with HCS08 and CodeWarrior Using C
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2616.pdf
(62 pages)
- Current page: 57 of 62
- Download datasheet (2Mb)
Is Linux/Unix
support available?
MOTOROLA
Clear the error count, and set the word so that the upper and lower bytes are
unique:
Check using pointers to access the individual bytes of the word in the correct
order:
Check that, using union/structure, access to the individual bytes of the word is
correct:
The results should be 0.
Cosmic supports Linux, Solaris and HP/UX as well as supporting Windows:
Linux
SUN Solaris
SUN Solaris
HP-UX
HP-UX
Getting Started with HCS08 and CodeWarrior Using C
err=0;
t.w = 0x55aa;
p=(byte *)&t.w;
if(t.bytes.h!=*p)err|=1;
p++;
if(t.bytes.l!=*p)err|=2;
if(t.bytes.h!=0x55)err|=4;
if(t.bytes.l!=0xaa)err|=8;
Freescale Semiconductor, Inc.
Platform
For More Information On This Product,
Go to: www.freescale.com
CLXH08
CSSH08
ZSSH08SIM
CHPH08
ZHPH08SIM
//clear error count
//set word so high byte and low byte are different
Part No
//set pointer to address of word
//should be pointing to the high byte
//increment pointer to next byte
//should be pointing to the low byte
//check high byte accessed as structure
//check low byte accessed as structure
C Cross Compiler, Assembler, Linker and IDEA
package targeting Motorola’s 68HC08
microcontroller
C Cross Compiler, Assembler, Linker and IDEA
package targeting Motorola’s 68HC08
microcontroller
ZAP Debugger Simulator for 68HC08
C Cross Compiler, Assembler, Linker and IDEA
package targeting Motorola’s 68HC08
microcontroller
ZAP Debugger Simulator for 68HC08
Description
Frequently Asked Questions
AN2616
57
Related parts for AN2616
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AN177](/images/no-image3.png)
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
![AN1268](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
![AN1315](/images/no-image3.png)
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
![AN1998](/images/no-image3.png)
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
![AN2124](/images/no-image3.png)
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
![AN2428](/images/no-image3.png)
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
![AN2708](/images/no-image3.png)
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
![AN2783](/images/no-image3.png)
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
![MC33394DH](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
![MC33394DWB](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
![MSC7110](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
![MSC7116](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7119](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7118](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC8101](/images/no-image3.png)
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola