poznasha Posted July 28, 2009 Report Posted July 28, 2009 (edited) postez aici niste probleme de matematica facute de mine in timpul anului,iar mai incolo voi posta niste jocuri in asm.daca vrea cineva sa vina cu noi creatii aici,e binevenit ps: pot fi compilate in fasm sau emu8086.1.face suma a 2 numereorg 100hmov ah,01hint 21hmov bl,alsub bl,'0'int 21hmov bh,alsub bh,'0'add bl,bhmov ax,0mov al,blmov cl,10DIV clmov dl,alpush axadd dl,'0'mov ah,02hint 21hpop axmov dl,ahadd dl,'0'mov ah,02hint 21hmov ah,01hint 21hint 20h2.maximul a 2 numere org 100hmov ah,01hint 21hmov bl,alint 21hcmp al,blja repermov dl,bljmp reper2reper:mov dl,alreper2:mov ah,02hint 21hmov ah,01hint 21h3.nr fibonacci folosind loop(while) .model small .stack .data a dw 1 ;la compilare "a" se inloc cu 1 b dw 1 ;la compilare "b" se inloc cu 1 c dw ? n dw 5 .codestart:mov ax,@datamov ds,axdec n mov cx,n ;initializez contorul cu nr. iteratiilor de efectuat inceput: mov ax,a add ax,b mov c,ax mov ax,b mov a,ax mov ax,c mov b,ax loop inceput mov ah,4chint 21hend startdeocamdata atat va arat. sa vad cum se comporta topicul(daca se merita) si voi posta ceva mai interesant decat astea. Edited July 28, 2009 by poznasha Quote
Guest Nemessis Posted July 28, 2009 Report Posted July 28, 2009 Foarte misto. Te-ai gandit ca mai bine te-ai fute in gaozul ala mare si plin de celulita? Quote
poznasha Posted July 28, 2009 Author Report Posted July 28, 2009 foarte inteligent.sa nu ne abatem de la subiect. Quote
Guest Nemessis Posted July 29, 2009 Report Posted July 29, 2009 Pai nu ne abatem de la subiect. Subiectul este: tu grasa, tu nefututa, tu in cautarea pulii. Quote