TimerDemo: housekeeping and end
call keywt
mov dx, pcchb ; "good housekeeping" set PB0 to 0 to disable count
in al, dx ; read current status of port b
and al, 11111110xb ; pb0 = 0, others unchanged
out dx, al ; count disabled
call godos
Previous slide
Next slide
Back to first slide
View graphic version