Skip to content

Commit 204767c

Browse files
authored
Merge pull request #355 from boriel/docs
Docs
2 parents 62dbbc9 + c14275f commit 204767c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

docs/fastcall.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,16 @@ Fastcall should ONLY be used with functions that take a single parameter. If you
2020
```
2121
FUNCTION FASTCALL whatLetter (A as uByte) as uByte
2222
Asm
23+
PROC
24+
LOCAL DATA, START
2325
JP START
2426
DATA: DEFB "A Man, A Plan, A Canal, Panama"
2527
START: LD HL,DATA
26-
ADD HL,A
28+
LD D,0
29+
LD E,A
30+
ADD HL,DE
2731
LD A,(HL)
32+
ENDP
2833
End Asm
2934
END FUNCTION
3035
```

docs/img/games/empareja.png

4.61 KB
Loading

0 commit comments

Comments
 (0)