基于89S51用KEIL C编写的温度计
源代码在线查看: delay100us.src
; .\delay100us.SRC generated from: delay100us.c
; COMPILER INVOKED BY:
; C:\Keil\C51\BIN\C51.EXE delay100us.c BROWSE DEBUG OBJECTEXTEND SRC(.\delay100us.SRC)
NAME DELAY100US
?PR?delay100us?DELAY100US SEGMENT CODE
PUBLIC delay100us
; void delay100us()
RSEG ?PR?delay100us?DELAY100US
delay100us:
; SOURCE LINE # 1
; {
; SOURCE LINE # 2
; #pragma asm
; more: mov R3,#48
more: mov R3,#48
; djnz R3,$
djnz R3,$
; djnz R7,more
djnz R7,more
; #pragma endasm
; } ; SOURCE LINE # 8
RET
; END OF delay100us
END