Forums
5
Product Forums
21
General Purpose MicrocontrollersGeneral Purpose Microcontrollers
i.MX Forumsi.MX Forums
QorIQ Processing PlatformsQorIQ Processing Platforms
Identification and SecurityIdentification and Security
Power ManagementPower Management
MCX Microcontrollers
S32G
S32K
S32V
MPC5xxx
Other NXP Products
Wireless Connectivity
S12 / MagniV Microcontrollers
Powertrain and Electrification Analog Drivers
Sensors
Vybrid Processors
Digital Signal Controllers
8-bit Microcontrollers
ColdFire/68K Microcontrollers and Processors
PowerQUICC Processors
OSBDM and TBDML
Solution Forums
4
Smart Home
Power & Energy
Mobile Robotics
Motor Control
Software Forums
16
MCUXpresso Software and ToolsMCUXpresso Software and Tools
CodeWarriorCodeWarrior
MQX Software SolutionsMQX Software Solutions
Model-Based Design Toolbox (MBDT)Model-Based Design Toolbox (MBDT)
FreeMASTER
eIQ Machine Learning Software
Embedded Software and Tools Clinic
S32 SDK
S32 Design Studio
GUI Guider
Zephyr Project
Voice Technology
Application Software Packs
Secure Provisioning SDK (SPSDK)
Processor Expert Software
MCUXpresso Training Hub
Topics
8
Mobile Robotics - Drones and RoversMobile Robotics - Drones and Rovers
NXP Training ContentNXP Training Content
University ProgramsUniversity Programs
Rapid IoT
NXP Designs
SafeAssure-Community
OSS Security & Maintenance
Using Our Community
Cloud Lab Forums
2
Hardware
Cloud Lab Knowledge Base
Knowledge Bases
1
i.MX RT Crossover MCUs Knowledge Base
Ideas
Blogs
Forums
Knowledge Bases
NXP Tech Blog
NXP.COM
Sign In
FAQs
Language
English (US)
日本語 | Japanese
中文 | Chinese (Simplified)
Home
:
Product Forums
:
8-bit Microcontrollers
:
HC05 assembly conversion to HC08
HC05 assembly conversion to HC08
All community
This category
This board
Knowledge base
Users
Products
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
HC05 assembly conversion to HC08
08-31-2006
04:59 PM
1,456 Views
baddad
Contributor I
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
I'm helping to convert an old HC05 project to HC08 using CW v5.1.
This statement shows up as an invalid addressing mode:
LDA #"U"
I haven't been able to find the proper way to write this.
Any suggestions on what I can try?
Thanks,
Brian
Labels
(1)
Labels
Labels:
General
0
Kudos
Reply
All forum topics
Previous Topic
Next Topic
2 Replies
08-31-2006
06:45 PM
378 Views
RockyRoad
Contributor III
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Brian -
I don't know why the double quotes (LDA #"U") didn't work. But I tried with single quotes (LDA #'U') and it worked correctly.
Interestly, this use of the double quotes for the string constant did work (and is another work around):
U: EQU "U"
.
.
.
LDA #U
- Rocky
0
Kudos
Reply
08-31-2006
06:54 PM
378 Views
baddad
Contributor I
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Thanks, I'll give it a try.
Seems to be a strange assembler response, because LDA #"d" works...
Thanks again.
Brian
0
Kudos
Reply
Post Reply