Hello, please, can you check this about rip addressing.
This is output from yasm and as on other side of moon.
as output
0000000000000000 <_start>:
0: 8a 05 08 00 00 00 mov al,BYTE PTR [rip+0x8] # e <_start+0xe>
6: 66 8b 05 00 00 00 00 mov ax,WORD PTR [rip+0x0] # d <_start+0xd>
d: 8b 05 00 00 00 00 mov eax,DWORD PTR [rip+0x0] # 13 <_start+0x13>
13: 48 8b 05 08 00 00 00 mov rax,QWORD PTR [rip+0x8] # 22 <_start+0x22>
The same code with adjustment using hjwasm:
hjwasm output
0000000000000000 <.text>:
0: 67 8a 05 08 00 00 00 mov al,BYTE PTR [eip+0x8] # 0xf
7: 67 66 8b 05 00 00 00 mov ax,WORD PTR [eip+0x0] # 0xf
e: 00
f: 67 8b 05 00 00 00 00 mov eax,DWORD PTR [eip+0x0] # 0x16
16: 67 48 8b 05 08 00 00 mov rax,QWORD PTR [eip+0x8] # 0x26
1d: 00
Thanks.