flat assembler
Message board for the users of flat assembler.

Index > Main > l*dt memory issue

Author
Thread Post new topic Reply to topic
b1528932



Joined: 21 May 2010
Posts: 287
b1528932 26 Jun 2010, 18:28
is there any particular reason why those instructions use memory instead of register/imm?

load instruction can load 24 or 32 bits, + 16 of size. or 32/16 is used with 0x66.
why its not like ax hold size, and dx hold 16 bit address (or edx 32bit if l*dt used with 0x66)?

same s*dt, why do i have to create memory just to load this shit?
im for sure gona copy it to register in next instruction...

why intel made that in this way?

l*dt would lose capability of loading 24 bits, but cmon why bother with this. use 0x66 if u need even 32 bits.
Post 26 Jun 2010, 18:28
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20423
Location: In your JS exploiting you and your system
revolution 27 Jun 2010, 02:24
It is too late to be asking about why Intel did certain things. It is what it is and is can't be changed now.
Post 27 Jun 2010, 02:24
View user's profile Send private message Visit poster's website 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.