瀏覽代碼

Includes work fine when assembling from the shell

pull/10/head
Virgil Dupras 5 年之前
父節點
當前提交
dfe19e20e4
共有 2 個檔案被更改,包括 3 行新增4 行删除
  1. +1
    -1
      doc/zasm.md
  2. +2
    -3
      tools/emul/cfsin/hello.asm

+ 1
- 1
doc/zasm.md 查看文件

@@ -22,7 +22,7 @@ is configured to start at `0xe00`
> bsel 3 ; select mmap
> peek 5
210890CD3C ; looking good
> mptr 9000 ; hello.asm is configured to run from 0x9000
> mptr 4200 ; hello.asm is configured to run from 0x4200
> load ff ; load compiled code from mmap
> peek 5
210890CD3C ; looking good


+ 2
- 3
tools/emul/cfsin/hello.asm 查看文件

@@ -1,6 +1,5 @@
.equ printstr 0x3c

.org 0x9000
#include "user.h"
.org USER_CODE

ld hl, sAwesome
call printstr


Loading…
取消
儲存