flat assembler
Message board for the users of flat assembler.

Index > Main > relative addressing

Author
Thread Post new topic Reply to topic
ent



Joined: 30 Apr 2013
Posts: 4
ent 30 Apr 2013, 19:48
Hello,

would appreciate you to comment on

lea eax,[area+esi*16]

Seems to compile with

lea eax,[area+esi*8]

but not with two digit numbers.

Thanks for your assistance
Post 30 Apr 2013, 19:48
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1671
Location: Toronto, Canada
AsmGuru62 30 Apr 2013, 20:05
Scale value of 8 is the highest possible in this case: it can only be 2,4, or 8, but not 16 or more.
Post 30 Apr 2013, 20:05
View user's profile Send private message Send e-mail Reply with quote
ent



Joined: 30 Apr 2013
Posts: 4
ent 30 Apr 2013, 20:12
Many thanks for your interest and help

and have a good time,
ent
Post 30 Apr 2013, 20:12
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.