Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

18 solution not work #8

Open
zhongff opened this issue Dec 2, 2018 · 1 comment
Open

18 solution not work #8

zhongff opened this issue Dec 2, 2018 · 1 comment

Comments

@zhongff
Copy link

zhongff commented Dec 2, 2018

.

@zhongff
Copy link
Author

zhongff commented Dec 3, 2018

note xa

MARK 0
GRAB 301
SEEK X
MARK 1
COPY F M
ADDI X 1 X
COPY X T
MODI T 11 T
TEST T = 0
FJMP 1
DROP
GRAB 300
MARK 2
SEEK -9999
COPY F M
COPY F M
TEST M = 1
FJMP 2
DROP
COPY -1 M
JUMP 0

note xb

LINK 800
MARK 0
TEST X = 88
TJMP 3
MARK 1
COPY M #DIAL
ADDI X 1 X
COPY X T
MODI T 11 T
TEST T = 0
FJMP 1
LINK 800
GRAB 200
MARK 2
COPY M F
COPY M F
TEST EOF
COPY T M
FJMP 2
DROP
LINK -1
COPY M #DIAL
JUMP 0
MARK 3
HALT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant