-
Couldn't load subscription status.
- Fork 374
Closed
Description
before nasm 3.0 sgdt and sidt are not have problem.
but after updated to nasm 3.0
when trying to assemble a code that include sgdt and sidt in 64bit option
error: instruction not valid with 32-bit operand size
panic: assertion data.inslen >= 0 failed in assemble at asm/assemble.c:986
failed to assemble with this error.
assemble fails regardless of whether addressing is done using registers or labels.
seg_label:
dw 0
dq 0
seg_code:
sgdt [rax]
sidt [rax]
sgdt [seg_label]
sidt [seg_label]
; all errors occur
Metadata
Metadata
Assignees
Labels
No labels