Skip to contentSkip to conversation

variables & How interrupts work

DISCUSSION dh 1 participant 1 message Aug 23, 2002

lore
Share & tools
lore

dh

author
#0 lore raw

Hi all!

Quoted 1 line

Hi all,

and Hi RCS!

Quoted 2 lines

I need some help to understand how interrupts work on Intel.

Intel can help you to understand how interrupts work on x86 :)
http://developer.intel.com/design/PentiumIII/manuals/

Quoted 3 lines

For example, how do I print a character in the screen?
Wich register must contain the character for that? Is "int 10h" the correct interrupt for that?

Yes, int 10 is correct interrupt for that.
For more information, please, input in google.com string - helppc, download this program and just read.

Quoted 4 lines

Hi all,

Can anyone explain me how global and local variables from C are treated in
assembler?

Many people know how it make, but explain this for you... It's a very long story.

Quoted 1 line

Is that write that local variables are storage in the stack?

Not, it isn't write :)

Good buy all!

Khmara Dmitro
engineer, IC Book Lab
[email protected]
www.icbook.com.ua