title Module from library HILIB_1 : STRASX name ('STRASX') maclib baselib.lib ; Language : PASCAL ; Assign string ; Copyright (C) Werner Cirsovius ; Hohe Weide 44 ; D-20253 Hamburg ; Tel.: +49-40-4223247 ; Version 1.0, October 1993 ; ENTRY Reg pair HL points to source closed by zero ; Reg pair DE points to destination closed by zero ; Reg B holds max length to be copied - less closing zero ; EXIT Destination filled by source entry strasx str.inc: inc de inc hl strasx: ld a,(hl) ; Unpack ld (de),a or a ret z djnz str.inc inc de xor a ld (de),a ; .. close ret end