Hi, I tried to compile lesson 7 in 64 bit.
Everything seems to work except for one issue. The problem is that the sprintlf 'function' does not print a line feed. It seems to make the same as 'sprint'.
I did something like this (used 64 bit registers instead of the 32 bit sub registers):
sprintLF:
call sprint
push rax
mov rax, 0Ah,0Ah
push rax
mov rax,rsp
call sprint
pop rax
pop rax
ret
Hi, I tried to compile lesson 7 in 64 bit. Everything seems to work except for one issue. The problem is that the sprintlf 'function' does not print a line feed. It seems to make the same as 'sprint'.
I did something like this (used 64 bit registers instead of the 32 bit sub registers):
sprintLF: call sprint push rax
mov rax, 0Ah,0Ah
push rax
mov rax,rsp
call sprint
pop rax
pop rax
ret