This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f77fedd
commit 4af2a06
Showing
5 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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 @@ | ||
#!/bin/bfmake | ||
|
||
mov r1, __ICOUNTER__ ; 0 | ||
mov r2, __ICOUNTER__ ; 1 | ||
mov r3, __ICOUNTER__ ; 2 | ||
mov r4, __ICOUNTER__ ; 3 | ||
|
||
add r1, .0 | ||
add r2, .0 | ||
add r3, .0 | ||
add r4, .0 | ||
|
||
out r1 | ||
out r2 | ||
out r3 | ||
out r4 |
Empty file.
This file contains 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 @@ | ||
0123 |
This file contains 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/bfmake | ||
#define call(L, R) psh %L##R NEWLINE jmp %L NEWLINE @L##R | ||
#define call(L, R) psh %L##R __NEWLINE__ jmp %L __NEWLINE__ @L##R | ||
call(label, 1) | ||
end | ||
@label | ||
out .1 | ||
ret | ||
ret |