code 'type', type
	push ebx
	push ecx
	upop ecx
	upop ebx
	or ecx,ecx              ; Is the count zero?
	jz .done                ; If so, we can exit
.1	push ecx                ; store the count
	dup                     ; Duplicate it
	xor eax,eax             ; Filter out junk bits
	mov al,[ebx]            ; Obtain the byte to show
	inc ebx                 ; increment to the next byte
	call emit               ; Show the character
	pop ecx                 ; Restore the count
	loop .1                 ; Loop, decrementing the count
.done	pop ecx
	pop ebx
next
