Skip to content

Commit

Permalink
added binary version of prooftest program
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbebia committed Apr 14, 2012
1 parent 8ebff98 commit d543108
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file added programs/prooftest.bin
Binary file not shown.
7 changes: 4 additions & 3 deletions programs/src/prooftest.dasm16
@@ -1,5 +1,6 @@
; Written for dcpu16-emulator project (https://github.com/tobbebia/dcpu16-emulator)
; Program used to make sure changes to the emulator don't break anything.
; Assemble using: https://github.com/AgentME/DCPU-16-Assembler
;
; Expected result:
;
Expand All @@ -25,14 +26,14 @@ SET [0x102], A

; Set to [0x..]
:const3
WORD 3
DAT 3
SET [0x103], [const3]

; Set to [0x.. + REG]
:unused
WORD 0
DAT 0
:const4
WORD 4
DAT 4
SET A, unused
SET [0x104], [1 + A]

Expand Down

0 comments on commit d543108

Please sign in to comment.