News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

UASM 2.46 jp gives no error

Started by LordAdef, February 10, 2019, 02:02:05 PM

Previous topic - Next topic

LordAdef

Guys,
My code was not working as expected, although there were no errors when buiding it.
In the end... instead of typing "jmp nextLine", I mistypede "jp nextLine".

Surely, the thing never jmp to my label.
Is there such a thing as pure jp in code?

Just for your information.
Cheers, Alex
PS: SORRY, it is in UASM 32 bits. I guess I wrote in the wrong Forum

sinsi

QuoteIs there such a thing as pure jp in code?
Look up conditional jumps...

habran

UASM did correct :biggrin:

   327:     jp nextLine
00007ff7c5921804 7A 2A                            jp 0x7ff7c5921830 
   328: vmovaps zmm0, zmm1
Cod-Father

LordAdef

Quote from: sinsi on February 10, 2019, 04:04:19 PM
QuoteIs there such a thing as pure jp in code?
Look up conditional jumps...
Hi Sinsi, I know JP existes, it jumps if parity. I wondered if  JP Label, in this case should generate an error

LordAdef

Quote from: habran on February 10, 2019, 04:13:05 PM
UASM did correct :biggrin:

   327:     jp nextLine
00007ff7c5921804 7A 2A                            jp         0x7ff7c5921830 
   328:    vmovaps zmm0, zmm1

That's great then! I know it was my typing fault, just wanted to show in case of an issue.

habran

Cod-Father