Click to See Complete Forum and Search --> : Help me with this small Assembly Language code!!
zero_coke
Feb 6th, 2012, 08:13 PM
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....
Atheist
Feb 8th, 2012, 02:49 AM
Can you not run it and examine the contents of $C100 and $C101 yourself?
zero_coke
Feb 8th, 2012, 08:15 PM
Nope, just an assignment...
Atheist
Feb 9th, 2012, 01:54 AM
I'm not sure what you mean by "just an assignment".
CADman
Feb 9th, 2012, 10:37 AM
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?
zero_coke
Feb 16th, 2012, 12:42 AM
Yeah its called CodeWarrior IDE and we're using the Motorola HCS12 microcontroller...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.