Skip to content

Commit 4c28966

Browse files
authored
Update Assembly.java
1 parent cf029ce commit 4c28966

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Assembly.java

+19
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,22 @@ public static void main(String args[]) {
183183
}
184184
}
185185
}
186+
187+
/** Sample input
188+
* SET a 1
189+
* SET b 2
190+
* SET goal 5
191+
* SET flag 0
192+
* IF flag 0
193+
* ADD a b c
194+
* IF a goal
195+
* ADD a a a
196+
* SET flag 1
197+
* END
198+
* ECHO a
199+
* SET a b
200+
* SET b c
201+
* CONTINUE
202+
* END
203+
* ###
204+
*/

0 commit comments

Comments
 (0)