Author Topic: VPERMILPS Bug?!  (Read 3947 times)


  • Member
  • ****
  • Posts: 674
« Reply #45 on: August 24, 2019, 06:32:37 PM »

I don't know whether it is a UASM bug or not, I will not investigate it further, but if we remove all things that are not necessary it will build the .exe (the KISS principle).

For example it will not build with this:
\masm32\bin\UASM64 /c -win64 -Zp8 /win64 /D_WIN64 /Cp /Cx /Cu /nologo /W2 -Zi0 -Zi1 -Zi2 -Zi3 /Zd -Zf %appname%.asm

But will build with this:
\masm32\bin\UASM64 /c -win64 -Zp8 %appname%.asm

Hi AW,

it seems to me that this is clearly an erroneous processing of debugging information in the parser. Just look at the size of the pdb file, you can immediately see that it is corrupted  :angelic: PDB from another test project looks fine.


  • Member
  • *****
  • Posts: 2568
  • Let's Make ASM Great Again!
« Reply #46 on: August 24, 2019, 07:57:44 PM »
There is a problem because mainCRTStartup procedure has too many lines.
With a reduced number of lines it debugs well with this configuration (the source file needs to be loaded by hand, it will not autoload  :sad:).
\masm32\bin\uasm64 -c -win64 -Zp8 /Sg /WX -Zi %appname%.asm
\masm32\bin\link.exe /SUBSYSTEM:console /MACHINE:X64 /FIXED /DEBUG %appname%.obj


  • Member
  • ****
  • Posts: 674
« Reply #47 on: August 25, 2019, 01:35:52 AM »
- Added two types of addressing
- Fixed some errors that occurred during the generation process
- Database error correction was done (Related to pdf formatting) - all tables must be correct
- The search for instructions works, you can write one part of the instruction, it works after pressing the enter button, clearing the field and pressing enter you can see the whole list
- Added a program icon to make it a little prettier  :biggrin:
- 4 operand instructions should work
- For other types of operands I did not manage to add handlers, in the readme you can see all types ... it’s not difficult to do, just need a little more time  :skrewy:
- Gui is slightly modified.

What is already planned ?!
- Add three operand instructions
- Add five operand instructions
- Make a handler for instructions without operands (randomly generate all at once)
- Add handlers for all remaining types ({k1}{z}, /m512/m32bcst etc ...)
- Add checkbox handlers

What do you think, if we adapt this database to RadASM ?! The idea is to implement autocomplete and help in the editor for assembler instructions  :eusa_boohoo:


  • Member
  • ****
  • Posts: 674
« Reply #48 on: August 28, 2019, 03:49:33 AM »

from now on I will post all updates in this old topic Without the desire to delete the first post, updates will be in the third message of the old topic.  :thumbsup: