From be9b278fdfc429b91e44ef073067b97fd3ad7a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Sat, 31 Mar 2007 15:06:48 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20suppression=20du=20fichier=20test.asm?= =?UTF-8?q?=20qui=20est=20obsol=C3=A8te?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commande/test.asm | 86 ----------------------------------------------- 1 file changed, 86 deletions(-) delete mode 100644 commande/test.asm diff --git a/commande/test.asm b/commande/test.asm deleted file mode 100644 index 0e0ea9c..0000000 --- a/commande/test.asm +++ /dev/null @@ -1,86 +0,0 @@ -model tiny,stdcall -p586N -locals -jumps -codeseg -option procalign:byte - -include "..\include\mem.h" -include "..\include\divers.h" - -org 100h -xor eax,eax - -call biosprint,offset test1 -call biosprint,offset retr - - -call biosprint,offset test2 -call biosprint,offset retr - -;call whatisitem0,offset test2,0,',' -;call biosprinth,eax - - -call checksyntax0,offset test1,offset test2,',' -jc suite -call biosprint,offset test3 -suite: - - -ret -test1 db "c'est un test,2Ah,1d,10111b,test.bin",0 -test2 db "?,FFh,65536d,101b,&",0 -test3 db "egale " -retr db 0xA,0xD,0 - -;Affiche le nombre hexa dans %0[dword] -PROC biosprinth FAR - ARG @num:dword - USES ax,bx,cx,edx,si,di - mov edx,[@num] - mov ah,09h - mov di,8 -@@hexaize: - rol edx,4 - mov si,dx - and si,1111b - mov al,[cs:si+offset @@tab] - mov cx,1 - cmp al,32 - jb @@control - mov bx,7 - mov ah,09h - int 10h -@@control: - mov ah,0Eh - int 10h - dec di - jnz @@hexaize - ret -@@tab db '0123456789ABCDEF' -endp biosprinth - - -;Affiche le texte ASCIIZ pointé par %0 -PROC biosprint FAR - ARG @pointer:word - USES ax,bx,cx,si - mov si,[@pointer] - mov cx,1 - mov bx,7 -@@again: - lodsb - or al,al - jz @@fin - cmp al,32 - jb @@control - mov ah,09h - int 10h -@@control: - mov ah,0Eh - int 10h - jmp @@again -@@fin: - ret -endp biosprint