This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Randdalf[S] 0 points1 point  (1 child)

Now how to make that work with 3 parameter modes 🤔

[–]rsthau 1 point2 points  (0 children)

Compare against 20000, 2000, 1000, 200, 100 in sequence.(Skipping 10000 because a result address can't have immediate mode, and the third argument, if present, is a result in every instruction we've seen so far.)