汇编语言分支程序设计
STACKSG SEGMENT STACK 'S' DW 64 DUP('ST') STACKSG ENDS DATA SEGMENT BUF DB 30H,31H,32H,33H,34H,35H,36H,37H,38H,39H,41H,42H,43H,44H,45H ;有序表 COUNT EQU $-BUF ;表项数(表长=$-buf(db)) CHAR DB ? ;要查找的数 MARK DW 0 ;初始查找次数 PROMPT DB 'NO
STACKSG SEGMENT STACK 'S' DW 64 DUP('ST') STACKSG ENDS DATA SEGMENT BUF DB 30H,31H,32H,33H,34H,35H,36H,37H,38H,39H,41H,42H,43H,44H,45H ;有序表 COUNT EQU $-BUF ;表项数(表长=$-buf(db)) CHAR DB ? ;要查找的数 MARK DW 0 ;初始查找次数 PROMPT DB 'NO