mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-04-01 11:30:35 +00:00
MC6809: Correct a couple of disassembler byte dumps.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
93122aaf1d
commit
f8757b3014
@ -689,7 +689,7 @@
|
||||
private string Address_relative_byte(string mnemomic)
|
||||
{
|
||||
var byte8 = this.GetByte(++this.address);
|
||||
return $"{byte8:x4}\t{mnemomic}\t${++this.address + (sbyte)byte8:x4}";
|
||||
return $"{byte8:x2}\t{mnemomic}\t${++this.address + (sbyte)byte8:x4}";
|
||||
}
|
||||
|
||||
private string Address_relative_word(string mnemomic)
|
||||
@ -701,7 +701,7 @@
|
||||
private string AM_immediate_byte(string mnemomic)
|
||||
{
|
||||
var byte8 = this.GetByte(++this.address);
|
||||
return $"{byte8:x4}\t{mnemomic}\t#${byte8:x4}";
|
||||
return $"{byte8:x2}\t{mnemomic}\t#${byte8:x2}";
|
||||
}
|
||||
|
||||
private string AM_immediate_word(string mnemomic)
|
||||
|
Loading…
x
Reference in New Issue
Block a user