亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? cjgl.asm

?? 數(shù)字競(jìng)賽搶答器的制作
?? ASM
字號(hào):
data    segment
mess1   db '          student grade management system',0ah,0dh,'$'
mess2   db '   this is main menu',0ah,0dh,'$'
mess3   db '    insert  (i)         please input:',0ah,0dh,'$' 
mess4   db '    modify  (m)         name    :',0ah,0dh,'$'
mess5   db '    delete  (d)         maths   :',0ah,0dh,'$'
mess6   db '    query   (q)         english :',0ah,0dh,'$'
mess7   db '    count   (c)         computer:',0ah,0dh,'$'
mess8   db '    print   (p)         chinese :',0ah,0dh,'$'
mess9   db '    exit    (e)',0ah,0dh,'$'
mess10  db '**********************************************************$'
mess11  db 'name            Ma   En   Co   Ch',0ah,0dh,'$'
mess13  db '    list    (l)',0ah,0dh,'$'
mess12  db 'maths  <60  <70  <80  <90  <100',0ah,0dh,'$'
err1    db ' there is not this student$'
err2    db ' file close wrong$'

fname   db "e:\hbyy\score.txt"

buffer1 db 23 dup(?)
buffeer db 0ah,0dh,'$'
buffer2 db 30 dup(?)
buffer3 db 8 dup('0')
count   db 5
handle  dw ?
del     db 8 dup('0')
x       db ?
data    ends

score struc
names    db 15 dup(' ')
maths    db 0,0
english  db 0,0
computer db 0,0
chinese  db 0,0
score ends

show macro addrs
        lea dx,addrs
        mov ah,9
        int 21h
        endm

set_p1 macro  a
        mov ah,2
        mov dh,a
        mov dl,36
        mov bh,0
        int 10h
        endm

set_p2 macro
       mov ah,2
       mov dh,12
       mov dl,2
       mov bh,0
       int 10h
       endm
set_p3 macro
       mov ah,2
       mov dh,1
       mov dl,30
       mov bh,0
       int 10h
       endm

clear  macro                        ;all screen
       mov al,0
       mov cl,0
       mov ch,0
       mov dh,24
       mov dl,79
       mov bh,7
       mov ah,6
       int 21h
       endm

clear1 macro                   ;lefe screen
       mov al,0
       mov bh,7
       mov ch,4
       mov cl,36
       mov dh,10
       mov dl,79
       mov ah,6
       int 10h
       endm

clear2 macro                      ;down screen
       mov al,0
       mov bh,7
       mov ch,12
       mov cl,0
       mov dh,24
       mov dl,79
       int 10h
       endm

newline macro
        push ax
        push dx
        mov dl,0dh
        mov ah,2
        int 21h
        mov dl,0ah
        mov ah,2
        int 21h
        pop dx
        pop ax
        endm

show_item macro addrs
        local iloop,w10
        push bx
        push cx
        mov bx,0
iloop:  mov dl,addrs[bx]         ;display char
        mov ah,2
        int 21h
        inc bx
        cmp bx,15
        jl  iloop
        mov cx,4
w10:    mov dl,' '
        mov ah,2
        int 21h
        mov dl,' '
        mov ah,2
        int 21h
        mov dl,' '
        mov ah,2
        int 21h

        mov dl,addrs[bx]
        mov ah,2
        int 21h
        inc bx
        mov dl,addrs[bx]
        mov ah,2
        int 21h
        inc bx
        loop  w10
        newline
        pop cx
        pop bx
        endm

getin   macro addrs,count2
local   zeroit,lp,input_end,exit
        push bx
        push ax
        mov bx,0
zeroit: mov addrs[bx],' '
        inc bx
        cmp bx,15
        jl  zeroit

        mov bx,0
lp:     mov ah,1
        int 21h
        cmp al,0ah
        jz  input_end
        cmp al,0dh
        jz  input_end
        mov addrs[bx],al
        inc bx
        cmp bx,count2
        jl lp
input_end: cmp al,0dh
        jz  exit
        cmp al,0ah
        jz  exit
        mov ah,7
        int 21h
        jmp input_end
exit:   
        pop ax
        pop bx
        endm


code    segment
main proc far
     assume  cs:code,ds:data,es:data

start: 
      mov ax,data
      mov ds,ax
      mov ah,0
      mov al,3
      int 10h
     
      clear
      show mess1
      show mess2
      show mess13
      show mess3
      show mess4
      show mess5
      show mess6
      show mess7
      show mess8
      show mess9
      newline
      show mess10
      set_p3
w:    mov ah,7
      int 21h
      cmp al,'i'
      jnz n1            
      call insert
      jmp  w
n1:   cmp al,'m'
      jnz  n2
      call modify
      jmp  w
n2:   cmp al,'d'
      jnz  n3
      call delete
      jmp  w
n3:   cmp al,'q'
      jnz  n4
      call query
      jmp  w
n4:   cmp  al,'c'
      jnz  n5
      call cot
      jmp  w
n5:   cmp  al,'p'
      jnz  n6
      call print
      jmp  w
n6:   cmp  al,'l'
      jnz  n7
      call list
      jmp  w
n7:   cmp al,'e'
      jz  exitf
      jmp  w
exitf:
       mov ah,4ch
       int 21h
       ret
main   endp

insert proc near
       push ax
       push bx
       push cx
       push dx
      
       mov dx,offset fname
       mov al,2
       mov ah,3dh
       int 21h
       mov bx,ax
       clear1
       set_p1 4
       call get_rec
       mov cx,0               ;move file pointer to end
       mov dx,0
       mov al,2
       mov ah,42h
       int 21h
             
       mov cx,23                    ;write file
       mov dx,offset buffer1
       mov ah,40h 
       int 21h
       mov ah,3eh
       int 21h
       set_p3
       pop dx
       pop cx
       pop bx
       pop ax
       ret
insert endp

get_rec proc near
       push ax
       push bx
       getin buffer2,15
       mov bx,0
       mov  cx,15
continue:   mov al,buffer2[bx]
       mov buffer1[bx],al
       inc bx
       loop  continue
       set_p1 5
       getin buffer2,2
       mov al,buffer2
       mov buffer1[bx],al
       inc bx
       mov al,buffer2+1
       mov buffer1[bx],al
       inc bx
       set_p1 6 
       getin buffer2,2
       mov al,buffer2
       mov buffer1[bx],al
       inc bx
       mov al,buffer2+1
       mov buffer1[bx],al
       inc bx
       set_p1 7
       getin buffer2,2
       mov al,buffer2
       mov buffer1[bx],al
       inc bx
       mov al,buffer2+1
       mov buffer1[bx],al
       inc bx
       set_p1 8
       getin buffer2,2
       mov al,buffer2
       mov buffer1[bx],al
       inc bx
       mov al,buffer2+1
       mov buffer1[bx],al
       inc bx
       pop bx
       pop ax
       ret
get_rec endp

openf proc near
      mov dx,offset fname
      mov al,02
      mov ah,3dh
      int 21h
      mov handle,ax
      ret
openf endp

query  proc near
       push ax
       push bx
       push cx
       push dx
       clear1
       clear2
       mov dx,offset fname
       mov al,2
       mov ah,3dh
       int 21h
       mov bx,ax
       set_p2
       getin buffer1,15
       lea dx,mess11
       mov ah,9
       int 21h
b:  
       mov ah,3fh
       mov cx,23
       mov dx,offset buffer2
       int 21h
       lea si,buffer2
       lea di,buffer1
       mov cx,15
c: 
       mov al,byte ptr[si] 
       cmp al,byte ptr[di]
       jnz b
       inc si
       inc di
       loop c
       mov [buffer2+23],'$'
       show_item buffer2
       mov ah,3eh
       int 21h
       pop dx 
       pop cx
       pop bx
       pop ax
       ret
query  endp

modify proc near
       push ax
       push bx
       push cx
       push dx
       clear1
       set_p1 4
       mov dx,offset fname
       mov al,2
       mov ah,3dh
       int 21h
       mov bx,ax
       mov handle,ax
       call get_rec          ; contact is in  buffer1
read: 
       mov dx,offset buffer2
       mov cx,23
       mov ah,3fh
       int 21h
       lea si,buffer2
       lea di,buffer1
       mov cx,15
c5:  
       mov dl,byte ptr[si] 
       cmp dl,byte ptr[di]
       jnz read
       inc si
       inc di
       loop c5
       mov bx,handle
       mov ah,42h
       mov al,1
       mov cx,0ffffh
       mov dx,-23
       int 21h
       mov cx,23
       mov dx,offset buffer1
       mov ah,40h
       int 21h
       mov ah,3eh
       int 21h
       jmp exit2
exit1: 
       set_p2
       show err1 
exit2:
       set_p3 
       pop dx
       pop cx
       pop bx
       pop ax
       ret
modify endp

delete proc near
       push ax
       push bx
       push cx
       push dx
       clear1
       set_p1 4
       mov dx,offset fname
       mov al,2
       mov ah,3dh
       int 21h
       mov bx,ax
       mov handle,ax
       getin buffer1,15          ; contact is in  buffer1
read5: 
       mov dx,offset buffer2
       mov cx,23
       mov ah,3fh
       int 21h
       lea si,buffer2
       lea di,buffer1
       mov cx,15
 c6:   
       mov dl,byte ptr[si] 
       cmp dl,byte ptr[di]
       jnz read5
       inc si
       inc di
       loop c6
       mov bx,handle
       mov ah,42h
       mov al,1
       mov cx,0ffffh
       mov dx,-8
       int 21h
       mov cx,8
       mov dx,offset del
       mov ah,40h
       int 21h
       mov ah,3eh
       int 21h
       jmp exit6

exit5: 
       set_p2
       show err1 
exit6:
       set_p3 
       pop dx
       pop cx
       pop bx
       pop ax
       ret
delete endp             

list   proc   near
       push ax
       push bx
       push cx
       push dx
      
       clear1
       clear2
       set_p2
       show mess11
       mov dx,offset fname
       mov al,2
       mov ah,3dh
       int 21h
       mov bx,ax
again: 
       mov dx,offset buffer1
       mov cx,23
       mov ah,3fh
       int 21h
       cmp ax,0
       jz p
       show_item buffer1
       jmp again
p:         
       mov ah,3eh
       int 21h
       set_p3
       pop dx
       pop cx
       pop bx
       pop ax
       ret
list   endp

print  proc near
       push ax
       call openf
       mov cl,count
       mov ch,0
read2:
       mov dx,offset buffer1
       mov cx,type score
       mov ah,3fh
       int 21h
       mov cx,23h
       mov bx,0
next:  mov ah,5
       mov dl,byte ptr buffer1[bx]
       int 21h
       inc bx
       loop next
       mov ah,5
       mov dl,0dh
       int 21h
       dec x
       cmp x,0
       jnz read2
       mov bx,handle
       mov ah,3eh
       int 21h
       pop ax
       ret
print  endp

cot  proc 
       push ax
       clear2
       set_p2
       show mess12
       mov dx,offset fname
       mov ah,3dh
       int 21h
       mov bx,ax
       mov handle,ax
read0: mov dx,offset buffer2
       mov cx,23
       mov ah,3fh
       int 21h
       mov dl,[buffer2+15]
       cmp dl,'6'
       jl  five
       cmp dl,'7'
       jl  six
       cmp dl,'8'
       jl  seven
       cmp dl,'9'
       jl  eight
       inc [buffer3+4]
       jmp quit
eight:  
       inc [buffer3+3]
       jmp quit
seven: inc [buffer3+2]
       jmp quit
six:   inc [buffer3+1]
       jmp quit
five:  inc [buffer3]
quit:  cmp ax,0
       jnz read0
       mov cx,10
a:     mov dl,' '
       mov ah,2
       int 21h
       loop a 
       mov bx,0               
a0:    mov dl,[buffer3+bx]
       mov ah,2
       int 21h
       inc bx
       mov dl,' '
       mov ah,2
       int 21h
       mov dl,' '
       mov ah,2
       int 21h
       cmp bx,5
       jnz a0
       mov bx,handle
       mov ah,3eh
       int 21h
       set_p3
       pop ax
       ret
cot  endp
code   ends
       end start

       




    

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91美女片黄在线观看91美女| 一个色在线综合| 欧美三区在线观看| 99re这里只有精品6| 国产在线播放一区三区四| 亚洲国产一区二区三区青草影视| 国产无一区二区| 色88888久久久久久影院野外| 国产一区二区三区精品欧美日韩一区二区三区 | 欧美系列在线观看| 91视频.com| 色哦色哦哦色天天综合| 91视频国产观看| 在线免费av一区| 91久久精品一区二区二区| 成人av网站大全| 色综合天天综合在线视频| 91官网在线观看| 欧美日韩一级视频| 欧美一区二区福利视频| 正在播放亚洲一区| 日韩女优视频免费观看| 精品国产乱码久久久久久夜甘婷婷| 欧美一区二区精品在线| 日日夜夜精品视频天天综合网| 亚洲一区二区免费视频| 蜜臀国产一区二区三区在线播放 | 欧美日韩视频在线第一区| 欧美喷水一区二区| 久久久久久久久久电影| 国产精品国产三级国产aⅴ中文| 国产精品久久久久久久浪潮网站 | 成人精品一区二区三区四区| 色综合久久久久久久| 欧美日本韩国一区二区三区视频| 欧美一区二区视频在线观看2020| 日韩欧美国产三级| 一区二区高清视频在线观看| 亚洲人成小说网站色在线| 丝袜诱惑制服诱惑色一区在线观看 | 日韩影院在线观看| 国产在线看一区| 欧美亚洲自拍偷拍| 中文字幕av一区 二区| 午夜精品久久久久久不卡8050| 福利一区在线观看| 亚洲电影在线免费观看| 亚洲狼人国产精品| 色婷婷av一区二区| 日韩精品最新网址| 一区二区三区免费| 狠狠色丁香婷综合久久| 色综合久久久久久久久| 久久先锋资源网| 麻豆精品在线视频| 欧美片在线播放| 一区二区视频在线| 91蜜桃在线免费视频| 综合欧美亚洲日本| 丁香婷婷综合网| 欧美亚州韩日在线看免费版国语版| 自拍偷拍亚洲综合| 成人ar影院免费观看视频| 中文av字幕一区| 丁香婷婷综合激情五月色| 国产精品乱码一区二区三区软件| 国产精品一二三四五| 在线一区二区三区四区| 亚洲欧美影音先锋| av电影天堂一区二区在线观看| 日韩三级电影网址| 国产精品第13页| 91久久线看在观草草青青| 亚洲三级电影网站| 欧美午夜精品一区二区三区| 偷拍自拍另类欧美| 在线观看三级视频欧美| 一区二区三区在线不卡| 在线一区二区观看| 亚洲国产日日夜夜| 欧美一区二区成人6969| 久久精品72免费观看| 欧美精品一区二区久久久| 国产乱人伦偷精品视频不卡| 欧美精品亚洲二区| 麻豆一区二区三区| 中文字幕欧美国产| 91一区在线观看| 麻豆91在线观看| 18欧美亚洲精品| 欧美日韩国产三级| 成人免费毛片app| 亚洲精品视频一区二区| 欧美一卡二卡三卡| 精品国产欧美一区二区| 91网上在线视频| 国内精品国产成人国产三级粉色| 日韩毛片在线免费观看| 日韩免费视频一区| 欧美日韩综合在线免费观看| 国产自产2019最新不卡| 亚洲第一福利一区| 亚洲视频免费在线| 国产香蕉久久精品综合网| 日韩精品影音先锋| 欧美日韩免费高清一区色橹橹| 国产成人午夜片在线观看高清观看| 一区二区欧美视频| 亚洲人成伊人成综合网小说| 国产精品毛片高清在线完整版| 欧美一区二区在线视频| 欧美色视频一区| 欧美视频精品在线观看| 91免费视频网址| 91麻豆国产精品久久| 成人黄动漫网站免费app| 国产不卡视频在线播放| 青青草国产精品亚洲专区无| 亚洲人亚洲人成电影网站色| 国产精品国产三级国产aⅴ中文 | 偷拍自拍另类欧美| 日韩国产在线一| 青青青伊人色综合久久| 日韩激情一区二区| 国产一区二三区好的| 激情欧美一区二区| 国产成人综合亚洲91猫咪| 国产激情视频一区二区三区欧美 | 国产精品中文字幕日韩精品| 国产美女在线观看一区| 99久久夜色精品国产网站| 91视频你懂的| 日韩精品中文字幕在线不卡尤物 | 亚洲一线二线三线视频| 免费看日韩a级影片| 国产一区二区电影| 色婷婷综合激情| 日韩亚洲国产中文字幕欧美| 国产视频一区二区在线| 一二三四社区欧美黄| 极品销魂美女一区二区三区| 99这里只有久久精品视频| 欧美男生操女生| 久久嫩草精品久久久精品一| 自拍偷在线精品自拍偷无码专区| 亚洲永久免费av| 国产成人av在线影院| 欧美日韩的一区二区| 国产人久久人人人人爽| 午夜欧美2019年伦理| 国产成a人亚洲| 67194成人在线观看| 国产精品女主播av| 久久精品国内一区二区三区| 99久久婷婷国产| 精品欧美一区二区三区精品久久| 一区二区中文字幕在线| 久久精品久久99精品久久| 色猫猫国产区一区二在线视频| 精品日韩欧美在线| 日本三级亚洲精品| 91精品在线免费| 亚洲一区中文日韩| 国产精品99久久久久| 日韩一级视频免费观看在线| 亚洲一区二区三区视频在线| 91亚洲精品久久久蜜桃| 国产精品水嫩水嫩| 国产91精品入口| 国产调教视频一区| 成人小视频在线| 中文字幕一区二区三区视频| 东方aⅴ免费观看久久av| 久久精品日产第一区二区三区高清版| 免费成人av在线播放| 日韩三级中文字幕| 极品少妇一区二区三区精品视频| 精品国产91久久久久久久妲己| 视频一区二区三区在线| 精品国产伦一区二区三区观看方式 | 久久99精品久久久久久久久久久久| 日韩精品一区国产麻豆| 国产麻豆一精品一av一免费| 国产欧美一区二区精品婷婷| 91视视频在线观看入口直接观看www | 亚洲乱码国产乱码精品精98午夜 | 日本美女一区二区三区| 精品第一国产综合精品aⅴ| 国产美女在线精品| 亚洲第一久久影院| 亚洲精品一区二区三区蜜桃下载| 国产成人午夜精品影院观看视频| 国产精品久久久久久久久果冻传媒 | 首页国产丝袜综合| 欧美国产成人在线| 日韩视频一区二区| av毛片久久久久**hd| 日韩影院免费视频| 中文字幕一区视频| 欧美成人艳星乳罩|