Untitled

mail@pastecode.io avatar
unknown
plain_text
13 days ago
262 B
3
Indexable
Never
#include <stdint.h>
#include <stdio.h>
#include<inttypes.h>

int main() {
    uint64_t cr3_value;

    // Load CR3 into a variable
    asm volatile("movq %%cr3, %0" : "=r" (cr3_value));
    printf("The large number is: %"PRIu64"\n",cr3_value);


    return 0;
}
Leave a Comment