Category : Assembly Language Source Code
Archive   : CUG292.ZIP
Filename : TZ80L.ASM

 
Output of file : TZ80L.ASM contained in archive : CUG292.ZIP
.sbttl Assembler Link Tests

.module tz80l

; This file and TCONST.ASM should be assembled and linked.
;
; ASZ80 -XGOL TZ80L
; ASZ80 -XGOL TCONST
;
; ASLINK -C
; -XMS
; TZ80L
; TCONST
; -E
;
; The following tests verify the correct processing of
; external references for the branches.
;
; *L signifies an error will be reported at link time.

; branch test must be first

.area TEST (ABS,OVR)

.blkb 0x7E ;bra1:
jr C,bra1 ; 38 00 [38 80]
.blkb 0x7F ;bra2:
jr C,bra2 ;*L 38 00 [38 7F]
jr C,bra3 ; 38 00 [38 7F]
.blkb 0x7F
.blkb 0x00 ;bra3:
jr C,bra4 ;*L 38 00 [38 [80]
.blkb 0x80
.blkb 0x00 ;bra4:

.blkb 0x7E ;bra5:
jr C,bra5 ; 38 00 [38 80]
.blkb 0x7F ;bra6:
jr C,bra6 ;*L 38 00 [38 7F]
jr C,bra7 ; 38 00 [38 7F]
.blkb 0x7F
.blkb 0x00 ;bra7:
jr C,bra8 ;*L 38 00 [38 [80]
.blkb 0x80
.blkb 0x00 ;bra8:




  3 Responses to “Category : Assembly Language Source Code
Archive   : CUG292.ZIP
Filename : TZ80L.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/