Author Topic: use of this code ?  (Read 179 times)

Offline JohnG

  • Jr. Member
  • *
  • Posts: 33
use of this code ?
« on: April 14, 2023, 06:05:11 AM »
Hi all,

Can you tell me if I am missing something with this code. I do not fully understand it, besides its a compare and jmp if below.

cmp  0x7fffffe1, 7
jb  address

John
« Last Edit: April 14, 2023, 06:48:38 AM by JohnG »

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2639
  • Country: us
Re: use of this code ?
« Reply #1 on: April 14, 2023, 10:41:53 PM »
What does Nasm say? I don't think:
Code: [Select]
cmp imm, imm
is valid.

Best,
Frank