fixed wrong generated comment

This commit is contained in:
MCorange99 2024-03-27 11:45:16 +02:00
parent bbba3c9c29
commit 0e18a5cdb8
Signed by untrusted user who does not match committer: MCorange
GPG Key ID: 12B1346D720B7FBB

View File

@ -203,7 +203,7 @@ impl X86_64LinuxNasmCompiler {
writeln!(fd, " mov dword[rax], ebx")?;
},
InstructionType::Read64 => {
writeln!(fd, " pop rax ; READ 32")?;
writeln!(fd, " pop rax ; READ 64")?;
writeln!(fd, " xor rbx, rbx")?;
writeln!(fd, " mov rbx, qword [rax]")?;
writeln!(fd, " push rbx")?;