This commit is contained in:
julianb0 2019-06-16 20:31:55 +02:00
parent 1d73ec6fd6
commit 2744a1b597
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62
2 changed files with 5 additions and 2 deletions

View File

@ -43,6 +43,9 @@ void decode(ctx_t *ctx)
uchar f1 = 0, f2 = 0;
ulong pc = rip;
// Instruction counter
R(RX0)++;
//
// Process the first word of the instruction

View File

@ -109,8 +109,8 @@ void dumpregs(ctx_t *ctx)
DUMPREGS(CR0, CR3);
log("\n\nrip=0x%-16lX rsp=0x%-16lX rbp=0x%-16lX flg=0x%-16lX\n\n",
rip, rsp, rbp, flg);
log("\n\nrip=0x%-16lX rsp=0x%-16lX rbp=0x%-16lX rx0=%-16lu\n\n",
rip, rsp, rbp, R(RX0));
log("CF=%x OF=%x\n"
"ZF=%x SF=%x\n"