/[VRac]/M6502/M6502.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /M6502/M6502.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 55 by dpavlin, Tue Jul 31 13:56:50 2007 UTC revision 68 by dpavlin, Tue Jul 31 17:15:54 2007 UTC
# Line 145  sub push_R { Line 145  sub push_R {
145    
146  =head2 dump_R  =head2 dump_R
147    
148  helper function which dumps registers  helper function which dumps registers in humanly readable form
149    
150      my $dump = dump_R;
151    
152  =cut  =cut
153    
154  sub dump_R {  sub dump_R {
155          warn sprintf("## M6502::dump_R PC: %04x A:%02x P:%02x X:%02x Y:%02x S:%02x\n", $PC, $A, $P, $X, $Y, $S) if $debug;          my $dump = sprintf(" PC: %04x A:%02x P:%02x X:%02x Y:%02x S:%02x\n", $PC, $A, $P, $X, $Y, $S);
156            warn "## M6502::dump_R $dump" if $debug;
157            return $dump;
158  }  }
159    
160  =head1 SEE ALSO  =head1 SEE ALSO

Legend:
Removed from v.55  
changed lines
  Added in v.68

  ViewVC Help
Powered by ViewVC 1.1.26