mirror of
https://github.com/emptyynes/LIVM.git
synced 2025-01-06 16:42:25 +03:00
14 lines
332 B
C
14 lines
332 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <inttypes.h>
|
||
|
#include <math.h>
|
||
|
|
||
|
#include "livm.c" // FUUUUCK
|
||
|
|
||
|
int main() { // FUCK FUCK FUCK, FUCK
|
||
|
createVM(100); // alloc 100 bytes
|
||
|
uram64[0] = 11; // poweroff opcode
|
||
|
runVM(); // run this fucking fuck
|
||
|
deleteVM(); // delete this shit, oh finally
|
||
|
return 0; // fuck all this code
|
||
|
}
|