Author Topic: JWasm13  (Read 6108 times)

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm13
« Reply #15 on: May 24, 2015, 11:30:53 PM »
Ur 2 good 2 be TRUE  :biggrin:
Cod-Father

ToutEnMasm

  • Member
  • *****
  • Posts: 1189
    • EditMasm
Re: JWasm13
« Reply #16 on: August 18, 2015, 02:47:35 AM »

I have a problem.

line 65        ;LOCAL ps:PAINTSTRUCT
uncomment the line 65,and see what happen
The start begin before the start label (exception)
Fa is a musical note to play with CL

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm13
« Reply #17 on: August 18, 2015, 07:23:21 AM »
I don't think that this is Jwasm problem
Why do you mess with alignment?
Cod-Father

ToutEnMasm

  • Member
  • *****
  • Posts: 1189
    • EditMasm
Re: JWasm13
« Reply #18 on: August 18, 2015, 05:21:44 PM »

It is visual studio who show there is a problem with the start adress.
It begin at the end of WndProc.
I couldn't made code who do that.
Make a try.
Fa is a musical note to play with CL

ToutEnMasm

  • Member
  • *****
  • Posts: 1189
    • EditMasm
Re: JWasm13
« Reply #19 on: August 20, 2015, 06:54:10 PM »
More tests show that JWASM don't seem to accept more than three LOCAL in 64 bits for a proc
put one local in data,and there is no more problem.


Fa is a musical note to play with CL

johnsa

  • Member
  • ****
  • Posts: 583
    • Uasm
Re: JWasm13
« Reply #20 on: August 21, 2015, 10:07:50 PM »
I constantly use loads more than 3 locals, I could have 10-20 even. I suspect the issue is the way you're starting..

I make a PROC

WinMainCRTStartup PROC FRAME USES rbx ....

for example.. The end directive then uses the proc name instead of a start label.
This assembles fine and the stack is right on start and you don't have to fiddle with rsp.

END_APP MACRO
   end WinMainCRTStartup
ENDM

So-far i'm not having any trouble with the latest jwasm including debugging 64bit in Visual studio.

John

habran

  • Member
  • *****
  • Posts: 1116
    • uasm
Re: JWasm13
« Reply #21 on: August 21, 2015, 10:38:59 PM »
Thanks Johnsa :t
I am to busy at the moment with finishing AVX512 :dazzled:
I am almost done 8)
Give me one more week
Cod-Father

ToutEnMasm

  • Member
  • *****
  • Posts: 1189
    • EditMasm
Re: JWasm13
« Reply #22 on: August 21, 2015, 11:16:27 PM »
To johnsa
Could you a little sample,( an exit it's enough) and a batch file to build it ?
Thanks
Fa is a musical note to play with CL

ToutEnMasm

  • Member
  • *****
  • Posts: 1189
    • EditMasm
Re: JWasm13
« Reply #23 on: August 22, 2015, 01:11:42 AM »

Thanks for answers,I found finally what is wrong.
It miss FRAME after PROC and it is that who generate a bad start point.
 
Fa is a musical note to play with CL