mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 08:26:14 +00:00
12 lines
213 B
C
12 lines
213 B
C
#include <stdio.h>
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
long rcx = 0x200000005UL;
|
|
long rax = 5UL;
|
|
asm volatile ("1: addq $1, %0; loopnel 1b" : "+a" (rax), "+c" (rcx) : : "cc");
|
|
printf ("%ld %ld\n", rax, rcx);
|
|
return 0;
|
|
}
|