| Issue 9: | The run-time disassembler produces misleading output for MOVE instruction | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
MOVE R5,R6 ;in source code
What is the expected output? What do you see instead?
yields
MOVE R6,R5 in the run-time disassembler
Please use labels and text to provide additional information.
Feb 18, 2014
Project Member
#1
vance.mo...@gmail.com
Owner:
vance.mo...@gmail.com
Feb 18, 2014
Fixed this, will be in the next commit.
Class: edu.wtamu.wtcs.client.presenter.Disassembler
Method: private String disassemble(String firstByte, String secondByte, int location)
Changed
} else if (firstNibble.equals("4")) {
return "move " + "R" + thirdNibble + ",R" + fourthNibble;
To
} else if (firstNibble.equals("4")) {
return "move " + "R" + fourthNibble + ",R" + thirdNibble;
Feb 18, 2014
(No comment was entered for this change.)
Status:
Fixed
|