-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Python][Disasm] Emit org directive.
- Loading branch information
Showing
13 changed files
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
db 0xf3 ; @@ 0x0000 f3 | ||
db 0xaf ; @@ 0x0001 af 11 Hey. | ||
--- | ||
org 0x0 | ||
db 0xf3 ; @@ 0x0000 f3 | ||
db 0xaf ; @@ 0x0001 af Hey. | ||
db 0x11 ; @@ 0x0002 11 |
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
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,5 +1,6 @@ | ||
; @@ 0x0000 : Hello | ||
; @@ 0x0000 : World | ||
--- | ||
org 0x0 | ||
; @@ 0x0000 : Hello | ||
; @@ 0x0000 : World |
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
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 +1,2 @@ | ||
org 0x1230 | ||
ld iy, 0x5c3a ; @@ 0x1230 fd 21 3a 5c .instr |
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,5 +1,6 @@ | ||
; @@ 0x0000 0xf3 .instr -- Hey. | ||
; @@ 0x0001 0xaf | ||
--- | ||
org 0x0 | ||
di ; @@ 0x0000 f3 .instr -- Hey. | ||
xor a ; @@ 0x0001 af |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
org 0x11dc | ||
ld (hl), 0x2 ; @@ 0x11dc 36 02 .instr | ||
dec hl ; @@ 0x11de 2b | ||
cp h ; @@ 0x11df bc | ||
|
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,3 +1,4 @@ | ||
org 0xc32 | ||
cp 0x82 ; @@ 0x0c32 fe 82 .instr | ||
ret c ; @@ 0x0c34 d8 | ||
ld a, d ; @@ 0x0c35 7a |
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,3 +1,4 @@ | ||
org 0x16d2 | ||
pop hl ; @@ 0x16d2 e1 .instr | ||
ret ; @@ 0x16d3 c9 | ||
db 0xed ; @@ 0x16d4 ed |
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