Author Topic: UASM 2.46 jp gives no error  (Read 570 times)

LordAdef

  • Member
  • ****
  • Posts: 642
UASM 2.46 jp gives no error
« 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

sinsi

  • Member
  • *****
  • Posts: 1176
Re: UASM 2.46 jp gives no error
« Reply #1 on: February 10, 2019, 04:04:19 PM »
Quote
Is there such a thing as pure jp in code?
Look up conditional jumps...
I can walk on water but stagger on beer bourbon.

habran

  • Member
  • *****
  • Posts: 1210
    • uasm
Re: UASM 2.46 jp gives no error
« Reply #2 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
Cod-Father

LordAdef

  • Member
  • ****
  • Posts: 642
Re: UASM 2.46 jp gives no error
« Reply #3 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

LordAdef

  • Member
  • ****
  • Posts: 642
Re: UASM 2.46 jp gives no error
« Reply #4 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.

habran

  • Member
  • *****
  • Posts: 1210
    • uasm
Re: UASM 2.46 jp gives no error
« Reply #5 on: February 10, 2019, 06:30:17 PM »
 8) 8)
Cod-Father