Forums
5
Product Forums
22
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
S32M
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
11
ARM Microcontrollers
7
MCX Microcontrollers Knowledge Base
K32 L Series Microcontrollers Knowledge Base
Kinetis Microcontrollers Knowledge Base
Kinetis Motor Suite Knowledge Base
LPC FAQs Knowledge Base
LPC Microcontrollers Knowledge Base
LPCware Archive Content
i.MX Processors
5
i.MX RT Crossover MCUs Knowledge Base
i.MX Graphics Knowledge Base
i.MX Processors Knowledge Base
i.MX Solutions Knowledge Base
i.MX 한국어 커뮤니티 Knowledge Base
Identification and Security
2
Secure Authentication Knowledge Base
Smart Cards and Secure Element Knowledge Base
Model-Based Design Toolbox (MBDT)
0
QorIQ Processing Platforms
0
S32 Automotive Processing Platform
0
Wireless Connectivity
0
CodeWarrior
0
MCUXpresso Suite of Software and Tools
0
MQX Software Solutions
0
FRDM Training Hub
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,535 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
457 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
457 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