X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/e7a0f4030d1a41cb3e95ce226ba3ab0fc73c158f..d8fa6a36ffba80be398c90641b3e7e7a79d56d43:/avr/utils.asm diff --git a/avr/utils.asm b/avr/utils.asm index af62efd..155c027 100644 --- a/avr/utils.asm +++ b/avr/utils.asm @@ -205,8 +205,6 @@ printstr_end: ; --------------- Debugging stuff --------------- ; Print a line with the 8080/Z80 registers -; TODO: y: - printregs: mov temp,z_flags rcall printflags @@ -233,33 +231,31 @@ printregs: rcall printhexw printstring " " movw xl,z_pcl - mem_read + lcall dram_read_pp rcall printhex printstring " " - adiw x,1 - mem_read + lcall dram_read_pp rcall printhex printstring " " - adiw x,1 - mem_read + lcall dram_read rcall printhex printstring " " #if EM_Z80 ldd temp,y+oz_f2 rcall printflags - printstring " A'=" + printstring " a'=" ldd temp,y+oz_a2 rcall printhex - printstring " BC'=" + printstring " bc'=" ldd temp2,y+oz_b2 ldd temp,y+oz_c2 rcall printhexw - printstring " DE'=" + printstring " de'=" ldd temp2,y+oz_d2 ldd temp,y+oz_e2 rcall printhexw - printstring " HL'=" + printstring " hl'=" ldd temp2,y+oz_h2 ldd temp,y+oz_l2 rcall printhexw