Switch around data pointer and value in debug output.

master
Icedream 2017-09-07 12:09:19 +02:00
parent 47e310e337
commit 446272f49a
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func (p *Processor) Execute() {
instruction := p.instructionBuffer[p.instructionPointer]
if p.Debug {
log.Printf("exec 0x%[2]x = %[1]q, data: 0x%[3]x = %[3]q (0x%[4]x), reserved data size: %[5]d B",
log.Printf("exec 0x%[2]x = %[1]q, data: 0x%[4]x = %[3]q (0x%[3]x), reserved data size: %[5]d B",
instruction,
p.instructionPointer,
p.Data[p.DataPointer],