block
Tanenbaum [1987] Operating Systems
test cx,#0x8000
jnz L3
test dx,#0xFFFF
jnz L3
jmp L4
L3: mov cx,#0x8000
L4: mov ax,ax
if bytes >= 32768, only do 32768
per iteration
check high-order 17 bits to see if bytes
if bytes >= 32768 then go to L3
if bytes < 32768 then go to L4
0x8000 is unsigned 32768
save actual count used in ax; needed later