home *** CD-ROM | disk | FTP | other *** search
- name normal
- ; char huge *normalize(char far *);
- ;
- ARGS equ word ptr [bp+08]
- ARGO equ word ptr [bp+06]
- NORMAL_TEXT segment byte public 'CODE'
- public _normalize
- assume cs:NORMAL_TEXT
- _normalize proc far
- push bp
- mov bp,sp
- ; Line 8
- mov dx,ARGS
- mov ax,ARGO
- ; Line 9
- cmp ax,15
- jbe @1 ; if the offset's less than 16, out
- ; Line 10
- mov cx,4
- shr ax,cl
- add dx,ax
- mov ax,ARGO
- and ax,0fh
- @1:
- pop bp
- ret
- _normalize endp
- NORMAL_TEXT ends
- end
-
-