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
0
Ideas
Blogs
Forums
Knowledge Bases
NXP Tech Blog
NXP.COM
Sign In
FAQs
Language
English (US)
日本語 | Japanese
中文 | Chinese (Simplified)
Home
:
Product Forums
:
Other NXP Products
:
Re: 56F8346 & ASM: Need help I can't understand it's exact meaning
56F8346 & ASM: Need help I can't understand it's exact meaning
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
56F8346 & ASM: Need help I can't understand it's exact meaning
10-20-2006
05:43 AM
3,052 Views
Reallin
Contributor II
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
move.l #>>xxxx,r0
what 's the meaning of >> ? Anybody help me
or give me an example and show me the result
thx
Message Edited by Alban on
2006-10-23
11:00 AM
Labels
(1)
Labels
Labels:
DSC
Tags
(3)
Tags:
56f8346
asm
dsc
0
Kudos
Reply
All forum topics
Previous Topic
Next Topic
4 Replies
10-30-2006
05:16 PM
1,170 Views
admin
Specialist II
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
As far as i understood "#>>" point to long immediate data (see 56800ERM - 3.6.1 Addressing mode).
0
Kudos
Reply
10-30-2006
07:45 PM
1,170 Views
mke_et
Contributor IV
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
If you mean the '>>' that's a 'shift'. It's an assembler command.
In the example bootcode for the 9S12 there was a sequence that went:
ldab LoadAddr, pcr ; Get high byte of address
cmpb #SRecLow>>16 ; Less than C0000?
bhs ChkHiLimit
In this case, the SRecLow value is right shifted 16 bits so that the 'page' can be referenced (checked) against an 8-bit value
0
Kudos
Reply
10-23-2006
08:39 AM
1,170 Views
Reallin
Contributor II
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
wrong space, hehe
the chip is 56F8346 ^^
maybe i should ask this in forum 16-bit microcontrollers
0
Kudos
Reply
10-20-2006
08:18 AM
1,170 Views
SimonMarsden_de
Contributor II
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Sorry, not sure. What assembler are you using? Does the code actually assemble?
Two things puzzle me about this code. I would not expect >> to be legal in this context, and I don't know what the 'r0' register is - I would expect e.g. 'a0' or 'd0'.
0
Kudos
Reply
Post Reply