The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: HATEM on June 29, 2007, 06:05:01 PM

Title: How many methodes to programming in ASM?
Post by: HATEM on June 29, 2007, 06:05:01 PM
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
Title: Re: How many methodes to programming in ASM?
Post by: ninjarider on June 29, 2007, 09:04:04 PM
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.
Title: Re: How many methodes to programming in ASM?
Post by: HATEM on June 29, 2007, 10:07:55 PM
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
Title: Re: How many methodes to programming in ASM?
Post by: BogdanOntanu on June 29, 2007, 11:19:44 PM
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....



Title: Re: How many methodes to programming in ASM?
Post by: HATEM on June 30, 2007, 12:24:49 PM
thank you BogdanOntanu for your help  :U