
; Listing26a2.s	= bytekiller
; Quelle: Solid Gold Source - bytekiller.c

; Packer:	Windows.exe: bytekiller.exe 
; Packer:	asm: na 
; Depacker: Windows.exe: na
; Depacker  asm: bytekiller.s
; info: -

; verwendete Dateien:
; Sources:  testexe.bk 
; Depacker: bytekiller.s

; Usage: bytekiller.exe <src file> <crunched file> [scan width]
; Usage: --

********************  Bytekiller Options  ********************

BK_DEST	=$60000			; for code, where the code was ORGed to.


********************  Exe File Start  ********************

	SECTION BYTEKILLER,CODE

	incdir ""			; only needed for early Asm-One versions

BYT_Example:	
	lea BKFile(PC),a0	; a0 gepackte Datei 						
	lea BK_DEST,a4		; a4 Ziel entpackte Datei
	bsr.b unpack		; Einsprung bytekiller
	jmp BK_DEST			; entpacktes Programm starten	

	include "/Packer/BK/bytekiller.s"	;source
		
BKFile:
	incbin "testexe.bk"
BYT_Example_End:

	end
