/ Published in: Assembler

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
; mov di, 0 ;starting at array position 0 mov bl, 1 ;reseed based on time call reseed mov bh, -1 ;set putdec format populate: call random mov [int_arr+di], ax ;put random int into array position DI mov ax, [int_arr+di] call putdec$ inc di cmp di, 100 jb populate
Comments
