Author Topic: *test & x* Bug in JWasm and AsmC  (Read 12609 times)

nidud

  • Member
  • *****
  • Posts: 2388
    • https://github.com/nidud/asmc
Re: *test & x* Bug in JWasm and AsmC
« Reply #15 on: May 09, 2016, 10:16:22 AM »
deleted
« Last Edit: February 25, 2022, 11:45:26 AM by nidud »

jj2007

  • Member
  • *****
  • Posts: 12933
  • Assembler is fun ;-)
    • MasmBasic
Re: *test & x* Bug in JWasm and AsmC
« Reply #16 on: May 09, 2016, 10:55:18 AM »
it doesn't like OPTION CSTACK:0 in MasmBasic.inc, line 221
if I comment that out, it stumbles frequently over Mirror$() with error typedef

will check tomorrow...

jj2007

  • Member
  • *****
  • Posts: 12933
  • Assembler is fun ;-)
    • MasmBasic
Re: *test & x* Bug in JWasm and AsmC
« Reply #17 on: May 09, 2016, 10:38:15 PM »
I removed the auto-off switch for the C/macro parsing. This means that MasmBasic now will be assembled with all extensions of ASMC.

I got another weird one:

error A2190: INVOKE requires prototype for procedure

Code: [Select]
ExternDef MbFH:DWORD
invoke SetFileTime, MbFH(4*10), edi, edi, edi

It works with
- eax instead of MbFH()
- MbFH[4*10] instead of MbFH(4*10)

Btw is there any consensus on the use of round vs square brackets here? My checks show that ML and AsmC use the same encoding for both; but for me the round brackets look a bit wrong ::)

nidud

  • Member
  • *****
  • Posts: 2388
    • https://github.com/nidud/asmc
Re: *test & x* Bug in JWasm and AsmC
« Reply #18 on: May 10, 2016, 01:23:35 AM »
deleted
« Last Edit: February 25, 2022, 11:45:39 AM by nidud »