Refactored arm package
This commit is contained in:
parent
c238e3a190
commit
f3f3ccc95f
26 changed files with 102 additions and 53 deletions
|
@ -21,6 +21,6 @@ func TestLoadAddress(t *testing.T) {
|
|||
for _, pattern := range usagePatterns {
|
||||
t.Logf("adr %s, %d", pattern.Destination, pattern.Number)
|
||||
code := arm.LoadAddress(pattern.Destination, pattern.Number)
|
||||
assert.DeepEqual(t, code, pattern.Code)
|
||||
assert.Equal(t, code, pattern.Code)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue