WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

Difference terminology in MASM, I'm trying to figure out what the difference is between "B" and "H" used with numbers.

Jesus
Quote Post


Very Active Member
****

Group: Members
Posts: 76
Member No.: 5854
Joined: 24-March 08


Hey, I've been messing with MASM for a short-while now and I'm trying to figure out what the difference is between "B" and "H", for example:

CODE
mov eax, 0h; nothing ?


If i use this code in a program:

CODE
MOV EAX, FS:[18h]


and view the debugger, the FS register is equal to 3B <<< What is this, 30 bytes allocated on the stack?........ Any answers would be nice xD. Thanks biggrin.gif

PS: a bit of detail on this would be appreciated. cheers.gif

PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2303
Member No.: 160
Joined: 22-June 04


although windows uses flat model - all selectors points same memoty segment, FS is used in exeption handling, i will not tell you a lot as i'm not an expert in everything - read more about protected mode and exception handling. in protected mode FS is selector and used not as segment offset, but as pojnter to entry in the table of descriptors (or something like this) so in PM "FS=10h" says nothing about segment which FS points - you have to examine tables of descriptors.
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google