
.model small
.386
.code
.startup
mov cx, 56234
mov ax, cx
push cx
lea di, [buffer]
mov cx, 16
l21: mov bx, cx
dec bx
mov byte ptr [di], 30h
bt ax, bx
jnc lNo1
mov byte ptr [di], 31h
lNo1: inc di
loop l21
pop cx
lea dx, message
mov ax, 0900h
int 21h
lExit: .exit 0
.data
message db ' CX = '
buffer db ' ',' bin',0Dh,0Ah,'$'
.stack 128
end