How many methodes to programming in ASM?

Started by HATEM, June 29, 2007, 06:05:01 PM

Previous topic - Next topic

HATEM

Hello
I want to know how many methodes to programing in assembly because i heard there is a segment methode for example can you tell me what is the other methodes?  :red

ninjarider

you just have to pick a style of programming that works for you. the segment:offset that your talking about is mainly used in 16 bit programing.

HATEM

thank you ninjarider for your reply
what i want to know is there are a lot of Another methods to write your program in ASM one of this Another methods is a segment method and i want to know Another method just for rech my knowledge

BogdanOntanu

There is no such thing as "segment method" of programming in assembly.

The CPU has some modes of operation: real mode, protected mode, long mode, etc.
You can learn about them in Intel manuals found on Intel site.

In "real mode" segments and offsets are used to access memory.

This is kind of obsolete and used only until you can get the CPU into another "higher" mode like protected mode or long mode....



Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

HATEM

thank you BogdanOntanu for your help  :U