Nei modelli di Giobe i dati sono compresi fra l'inizio del programma principale e l'indirizzo cui si salta partendo dall'inizio.
Prima però mi ricostruisco le procedure e le metto nella libreria.
public Cancella text segment byte public Cancella proc near mov ah,00h mov al,03h int 10h ret Cancella endp text ends end
c:\Assembly>esegui cancella Microsoft (R) Macro Assembler Version 6.14.8444 Copyright (C) Microsoft Corp 1981-1997. All rights reserved. Assembling: cancella.asm c:\Assembly>lib libreria+cancella Microsoft (R) Library Manager Version 3.40 Copyright (C) Microsoft Corp 1983-1993. All rights reserved. List file: Output library: c:\Assembly> c:\Assembly>lib libreria Microsoft (R) Library Manager Version 3.40 Copyright (C) Microsoft Corp 1983-1993. All rights reserved. Operations: List file: con CANCELLA..........cancella X.................proced proced Offset: 00000010H Code and data size: cH X cancella Offset: 00000070H Code and data size: 7H CANCELLA c:\Assembly>
public KeyWait text segment byte public KeyWait proc near mov ah,00h int 16h ret KeyWait endp text ends end
c:\Assembly>lib libreria+KeyWait Microsoft (R) Library Manager Version 3.40 Copyright (C) Microsoft Corp 1983-1993. All rights reserved. List file: Output library: c:\Assembly>lib libreria Microsoft (R) Library Manager Version 3.40 Copyright (C) Microsoft Corp 1983-1993. All rights reserved. Operations: List file: con CANCELLA..........cancella KEYWAIT...........KeyWait X.................proced proced Offset: 00000010H Code and data size: cH X cancella Offset: 00000070H Code and data size: 7H CANCELLA KeyWait Offset: 000000d0H Code and data size: 5H KEYWAIT c:\Assembly>
Ecco...
Nessun commento:
Posta un commento