Changeset 26 for trunk/enter2.asm


Ignore:
Timestamp:
Apr 18, 2014, 8:10:14 AM (10 years ago)
Author:
Mattia Monga
Message:

Programmi 2014

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/enter2.asm

    r2 r26  
    88       
    99       
    10 spin:   mov ecx, 0
     10spin:   push busy
     11        call printf
    1112        lock bts dword [ebx], 0
    12         jc save
    13 print:  push busy
    14         call printf
     13        jc spin
    1514
    16         cmp ecx, 1
    17         je spin
    18 
    19 save:   mov ecx, 1
    20         jmp print
    21        
    2215        leave                   ; mov esp,ebp / pop ebp
    2316        ret     
Note: See TracChangeset for help on using the changeset viewer.