Implemented length storage of allocated memory
This commit is contained in:
parent
79bb606e8d
commit
3043e4e2c4
27 changed files with 134 additions and 49 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
func TestStoreNumber(t *testing.T) {
|
||||
usagePatterns := []struct {
|
||||
Register cpu.Register
|
||||
Offset byte
|
||||
Offset int8
|
||||
Length byte
|
||||
Number int
|
||||
Code []byte
|
||||
|
@ -159,7 +159,7 @@ func TestStoreNumber(t *testing.T) {
|
|||
func TestStoreRegister(t *testing.T) {
|
||||
usagePatterns := []struct {
|
||||
RegisterTo cpu.Register
|
||||
Offset byte
|
||||
Offset int8
|
||||
Length byte
|
||||
RegisterFrom cpu.Register
|
||||
Code []byte
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue