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.

integer times and disassembly problem

Status
Not open for further replies.

hiclickme

Newbie level 6
Joined
Aug 25, 2004
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
160
hello

I am a newbie at microprocessor

I don't know how do a value over 255 times a value over 255 in asm laguage. So I type it in C language and compile it then read the disassembly sentence by sentence. But it beat me from very beginning. Some sentences are missing.
eg:
C:0x000C 02004A LJMP C:004A
...Then I went to fine 004A, but there was 004b following the 0049. There is no 004A.
So I can't follow its thought.
Why some senteces/addresses are missing at disassembly? I use Keil uVision2.


PS:Any article can tell how to mix C and ASM. I want to use them at the same program so often.

Thank you very very much.
 

Hi,

I used assembly for programming microcontrollers for some time, however now I use C since it is much easier and is not specific to the architecture. But using disassembly to understand assembly is a new subject for me actually.

However, concerning mixing C and Assembly in keil uvisoin2. you can do it very simply. You can find the details in these page
https://www.keil.com/support/docs/1671.htm
https://www.keil.com/support/docs/50.htm
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top