Skip to content

Commit 8e4caa1

Browse files
committed
Implement "pop that n"
1 parent 7a678f5 commit 8e4caa1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/code_writer.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ def base_address(segment)
120120
{
121121
'local' => 'LCL',
122122
'argument' => 'ARG',
123-
'this' => 'THIS'
123+
'this' => 'THIS',
124+
'that' => 'THAT'
124125
}.fetch(segment)
125126
end
126127

0 commit comments

Comments
 (0)