DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦7b88e6b88⟧ TextFile

    Length: 320 (0x140)
    Types: TextFile
    Notes: UNIX file
    Names: »canon.s«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦f4b8d8c84⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »libc/gen/canon.s« 

TextFile

/ Segmented Z8001 library
/ int _canw(i) int i;
/ long _canl(l) long l;
/ These are called by the routines that
/ transform words and longs to and from the
/ canonical formats.

	.globl	_canw_, _canl_
	.globl	SS

_canw_:
	ld	r1, SS|4(r15)
	exb	rh1, rl1
	ret

_canl_:
	ldl	rr0, SS|4(r15)
	exb	rh0, rl0
	exb	rh1, rl1
	ret