Author Topic: Partial Tutorial X64 with full sdk translate  (Read 7183 times)

Mikl__

  • Member
  • *****
  • Posts: 1036
Re: Partial Tutorial X64 with full sdk translate
« Reply #15 on: August 25, 2015, 07:07:33 PM »
Hi, Yves!
store the value of registers in local variables how in my samples

rrr314159

  • Member
  • *****
  • Posts: 1382
Re: Partial Tutorial X64 with full sdk translate
« Reply #16 on: August 25, 2015, 07:51:48 PM »
Quote from: ToutEnMasm
Did you find this NORMAL??????????

- These days, who's to say what's normal? See the JWasm forum for explanation. JWasm reserves (maximum) stack space once, at beginning of a proc, for all proc's called within; it's more efficient, but u have to be aware of it. You can enable / disable this feature by appropriate options. Interesting to note others have been bitten by this, u can see examples in the Laboratory; threads never did figure out what the problem was. In one, they decided there was "something wrong" with rbx, same as u decided "something wrong" with rdi

Anyway thanks for the tute examples. Mikl__ used no invokes, push his own args; you're using invoke's and all the latest JWasm features; so together you demonstrate full range of approaches (my 3rd approach, using nvk macro, could be considered in the middle)
I am NaN ;)

TouEnMasm

  • Member
  • *****
  • Posts: 1430
    • EditMasm
Re: Partial Tutorial X64 with full sdk translate
« Reply #17 on: August 27, 2015, 07:10:06 AM »
The explain seem to be here :(VERBOTEN by JWASM)
http://masm32.com/board/index.php?topic=4536.msg48597#msg48597
Fa is a musical note to play with CL