-
Feb 6th, 2012, 09:13 PM
#1
Thread Starter
Addicted Member
Help me with this small Assembly Language code!!
LDD #$F00D
LDX #$C100
STD 0,X
BSET 0,X,$44
BCLR 1,X,$11
What numbers are in memory locations $C100 and $C101 after the program is executed?
If it helps, we're using the HC12 & S12 microcontrollers....
-
Feb 8th, 2012, 03:49 AM
#2
Re: Help me with this small Assembly Language code!!
Can you not run it and examine the contents of $C100 and $C101 yourself?
-
Feb 8th, 2012, 09:15 PM
#3
Thread Starter
Addicted Member
Re: Help me with this small Assembly Language code!!
Nope, just an assignment...
-
Feb 9th, 2012, 02:54 AM
#4
Re: Help me with this small Assembly Language code!!
I'm not sure what you mean by "just an assignment".
-
Feb 9th, 2012, 11:37 AM
#5
Lively Member
Re: Help me with this small Assembly Language code!!
Correct me if I am wrong but, what you posted looks like a custom language for the microcontroller not MS assembler (ASM).
Did the product include a debugger program?
-
Feb 16th, 2012, 01:42 AM
#6
Thread Starter
Addicted Member
Re: Help me with this small Assembly Language code!!
Yeah its called CodeWarrior IDE and we're using the Motorola HCS12 microcontroller...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|