The MASM Forum

64 bit assembler => UASM Assembler Development => Topic started by: LordAdef on February 10, 2019, 02:02:05 PM

Title: UASM 2.46 jp gives no error
Post by: LordAdef on February 10, 2019, 02:02:05 PM
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
Title: Re: UASM 2.46 jp gives no error
Post by: sinsi on February 10, 2019, 04:04:19 PM
Quote
Is there such a thing as pure jp in code?
Look up conditional jumps...
Title: Re: UASM 2.46 jp gives no error
Post by: habran on February 10, 2019, 04:13:05 PM
UASM did correct :biggrin:
Code: [Select]
   327:     jp nextLine
00007ff7c5921804 7A 2A                            jp 0x7ff7c5921830 
   328: vmovaps zmm0, zmm1
Title: Re: UASM 2.46 jp gives no error
Post by: LordAdef on February 10, 2019, 04:17:03 PM
Quote
Is 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
Title: Re: UASM 2.46 jp gives no error
Post by: LordAdef on February 10, 2019, 04:18:40 PM
UASM did correct :biggrin:
Code: [Select]
   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.
Title: Re: UASM 2.46 jp gives no error
Post by: habran on February 10, 2019, 06:30:17 PM
 8) 8)