assembly

  1. J

    Solved Assembler messages: number of operands mismatch for `mov'

    I type a assembly program. When use 'as exit.s -o exit.o' command to assemble the program, it throws the error message. I can not solve this problem. .section .data .section .text .globl _start _start: movl $1 %eax movl $1 %ebx int $0x80 The system infos: Linux jzl-virtual-machine...
  2. C

    x86_64 Does the Linux Kernel set the Carry Flag upon an Error?

    I am working on developing small (<256 byte) programs for my Linux computer. My laptop runs Debian 12 with the kernel being version 6.1.0-16-amd64. Normally, I set up a routine to check if the kernel returns an error after a syscall. IIRC the minimum value indicating an error is -4096. I once...
Top