Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need help in decoding the assembly language of 68HC05P1/P9

Status
Not open for further replies.

mdeepamenon

Junior Member level 2
Joined
Apr 13, 2006
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,497
Hello,

I have got a piece of assembly code of Motorola 68HC05P1/P9 microcontroller.
I have found out the meaning of different instructions from the datasheet.
Now i need to find out the meaning of statements like:
1. IR_Input equ !5
2. T_500 equ $A2
3. Key0 equ %1111
4. ADD #!03
5. LDX #5
What do the #, ! and $ symbols convey in the satatements shown above.

Thanks and Regards,
Deepa
 

Re: Need help in decoding the assembly language of 68HC05P1/

$ denote hexadecimal number
% denote binary number
# denote immediate data (constant)
 
Re: Need help in decoding the assembly language of 68HC05P1/

Thanks. Then what does ! denote?
4. ADD #!03 denots what?
Plz help.
thanks and regards,
Deepa
 

Re: Need help in decoding the assembly language of 68HC05P1/

I don't know ! denote for what. I've check my documentation, but no information.
Do you know the name of the Assembler your source code? Or do you have Assembly Listing of that code?
 
Re: Need help in decoding the assembly language of 68HC05P1/

assembler: P&E Microcomputer Systems IASM05
assembly listing is not there.
Thanks and regards,
Deepa
 

Re: Need help in decoding the assembly language of 68HC05P1/

I spotted that ! means NOT (1's compliment)
Regards,
Deepa
 

$ denote hexadecimal number
! denote decimal number
% denote binary number
# denote immediate data (constant)
equ means address
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top