flat assembler
Message board for the users of flat assembler.

Index > Main > Help! Control, debug, Test ,Segment register ???

Author
Thread Post new topic Reply to topic
MinhHung



Joined: 10 Sep 2010
Posts: 51
Location: Viet Nam
MinhHung 14 Jan 2012, 04:32
did you visit http://www.assembly.happycodings.com/index.html

i have reading some 'sample source codes', but i don't understand some asm line

Code:
mov     bh,es:[10h]
....
cs mov eax,ebx 
--etc    


i don't know how to use it, what does it use for?
Control register: CRx
debug register: DRx
Test register: TRx
Segment register: CS, DS, SS, ES, FS, GS

thank!

_________________
sorry for my english
Post 14 Jan 2012, 04:32
View user's profile Send private message Yahoo Messenger Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1900
DOS386 14 Jan 2012, 04:48
> did you visit

NO

> i have reading some 'sample source codes',
> but i don't understand some asm line

And what are we supposed to do about that ?

> mov bh,es:[10h]

NOT valid FASM syntax Shocked

http://board.flatassembler.net/topic.php?p=91767#91767
http://board.flatassembler.net/topic.php?p=106603#106603

> mov eax,ebx

copy value from EBX into EAX Shocked

> Control register: CRx
> debug register: DRx

advanced stuff, ignore them

> Test register: TRx

80386 only, ignore them

> Segment register: CS, DS, SS, ES, FS, GS

important for 16-bit programming

Please read the docs (RTFM) and the FAQ's (RTFF) and make sure to clarify what you are trying to do (what OS to support, what assembler to use, ...).
Post 14 Jan 2012, 04:48
View user's profile Send private message Reply with quote
MinhHung



Joined: 10 Sep 2010
Posts: 51
Location: Viet Nam
MinhHung 18 Jan 2012, 04:13
thank you! ,
i don't connect to internet , i only have 3-6 hour/week in library to search some document... i'm backward
that is good, if has a documents to read offline

thank you agian
Post 18 Jan 2012, 04:13
View user's profile Send private message Yahoo Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 18 Jan 2012, 07:08
1. Download all "IntelĀ® 64 and IA-32 Architectures Software Developer Manuals"
2. Download some FASM package (FASMW is good for Windows programming). There is a copy of "flat assembler 1.69 Programmer's Manual" inside. Besides the full description of FASM syntax, there is a short description of the instructions, so you can make quick check up. There are also examples you can compile, run and modify.
Post 18 Jan 2012, 07:08
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.