flat assembler
Message board for the users of flat assembler.

flat assembler > Main > flat assembler 1.71.47

Author
Thread Post new topic Reply to topic
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7272
Location: Kraków, Poland
This new development release adds support for Intel MPX instructions.

Because few of these new instructions apply special meaning to components of the address of memory operand, there is a special syntax added (after NASM) to allow full level of control over these fields. The classic memory operand can also be used, but it is reliable only in basic cases. The new syntax uses "," to separate address within square brackets into two parts, the meaning of these parts depends on the instruction.

In case of BNDMK, first sub-address is the base that will be loaded into lower bound (either 0 or a register of mode-appropriate size), and the second one is the remaining part of the address for upper bound (it can be interpreted as the length of bounded area). The two instructions shown below demonstrate how this syntax allows to distinguish functionally different encodings of the same effective address:
Code:
bndmk bnd0,[ebx,0]
bndmk bnd1,[0,ebx]    

In case of BNDLDX and BNDSTX, first sub-address of memory operand is any address without an index register, and the second sub-address should be either 0 or an index register without a multiplier other than 1. There are some inconsistencies in Intel manuals that make it unclear whether it is possible to use displacement without base register to form the base address for these instructions, so I decided to allow such form just in case. I will test if it actually works when I have an opportunity.
Post 09 Nov 2015, 19:48
View user's profile Send private message Visit poster's website Reply with quote
Hayden



Joined: 06 Oct 2005
Posts: 132
i downloaded the new fasmw.dll and Get_Version() still returns 1.67

_________________
New User.. Hayden McKay.
Post 04 Dec 2015, 02:32
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7272
Location: Kraków, Poland
fasm.dll is regularly updated here. Perhaps you downloaded it from some other source that I do not maintain.
Post 04 Dec 2015, 09:16
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-2019, Tomasz Grysztar.

Powered by rwasa.