Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 12/Memory.jack
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ class Memory {

/** Finds an available RAM block of the given size and returns
* a reference to its base address. */
function int alloc(int size) {
function Array alloc(int size) {
}

/** De-allocates the given object (cast as an array) by making
* it available for future allocations. */
function void deAlloc(Array o) {
}
}