1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
This commit is contained in:
julianb0 2019-05-16 15:28:10 +02:00
parent dd4d337de1
commit 72f27a22c3
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62

View File

@ -4,13 +4,7 @@
#include "arch.h"
ushort fwprog[] = {
I_ADD_R_I, RDX, A_IMM32, 0xAABB, 0xCCDD,
I_MOV_R_R, RAX, RDX,
I_MOV_R_I, RBX, A_IMM64, 0x7777, 0x6666, 0x5555, 0x4444,
I_SUB_R_I, RDX, A_IMM16, 0xCCDD,
I_MOV_R_I, RBP, A_IMM16, 0x0010,
I_MUL_I, A_IMM64, 0xFFFF,0xFFFF,0xFFFF,0xFFFF,
I_ADD_R_I, RAX, A_IMM32, 0xAABB, 0xCCDD,
I_MOV_R_I, RBP, A_IMM16, MEMOFF+sizeof(fwprog)+0xFF,
};
ushort bget(ctx_t *ctx)