Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Help me with this small Assembly Language code!!

zero_coke

New member
Joined
Dec 18, 2010
Messages
213
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

Raging swede
Joined
Aug 19, 2005
Messages
8,020
Can you not run it and examine the contents of $C100 and $C101 yourself?
 

CADman

New member
Joined
Aug 3, 2007
Messages
92
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

New member
Joined
Dec 18, 2010
Messages
213
Yeah its called CodeWarrior IDE and we're using the Motorola HCS12 microcontroller...
 
Top