-
Notifications
You must be signed in to change notification settings - Fork 3
🎓 Topic assembly programming --- Revisit problems #227
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0be245c
rework sections
jameshughes89 87efd13
add new sec
jameshughes89 fbd4b8f
arithmetic program
jameshughes89 b9ed8b4
counting program
jameshughes89 8fd5c0b
check 10 program
jameshughes89 88f91c4
count 10 program
jameshughes89 cf22559
arithmetic explain
jameshughes89 f54fc36
explain check 10 and counting
jameshughes89 f539834
remove counting 10
jameshughes89 7900f3f
Merge branch 'main' into topic-programming_assembly-revisit
jameshughes89 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| LDAR 0xE | ||
| LDBR 0xF | ||
| ADAB | ||
| SAVA 0xD | ||
| OUTU 0xD | ||
| LDAR 0xE | ||
| SUAB | ||
| SAVA 0xD | ||
| OUTS 0xD | ||
| HALT | ||
| NOOP | ||
| NOOP | ||
| NOOP | ||
| NOOP | ||
| 31 | ||
| 32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| v2.0 raw | ||
| 0x1e | ||
| 0x3f | ||
| 0x70 | ||
| 0x5d | ||
| 0xdd | ||
| 0x1e | ||
| 0x80 | ||
| 0x5d | ||
| 0xed | ||
| 0xf0 | ||
| 0x00 | ||
| 0x00 | ||
| 0x00 | ||
| 0x00 | ||
| 0x1f | ||
| 0x20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| LDAR 0xF | ||
| LDBD 10 | ||
| SUAB | ||
| JMPS 0x6 | ||
| OUTU 0xD | ||
| HALT | ||
| OUTU 0xE | ||
| HALT | ||
| NOOP | ||
| NOOP | ||
| NOOP | ||
| NOOP | ||
| NOOP | ||
| 0 | ||
| 1 | ||
| 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| v2.0 raw | ||
| 0x1f | ||
| 0x4a | ||
| 0x80 | ||
| 0xb6 | ||
| 0xdd | ||
| 0xf0 | ||
| 0xde | ||
| 0xf0 | ||
| 0x00 | ||
| 0x00 | ||
| 0x00 | ||
| 0x00 | ||
| 0x00 | ||
| 0x00 | ||
| 0x01 | ||
| 0x0a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| LDAD 0 | ||
| LDBD 1 | ||
| SAVA 0xF | ||
| OUTU 0xF | ||
| ADAB | ||
| JMPA 0x2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| v2.0 raw | ||
| 0x20 | ||
| 0x41 | ||
| 0x5f | ||
| 0xdf | ||
| 0x70 | ||
| 0x92 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor, probably ditch the unused header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it to help make the next PR easier to merge