Diferencia entre revisiones de «Fibonacci.fma»

De Wiki Asqueados
Saltar a: navegación, buscar
(zaivacFsSKuFGaXfGXY)
()
 
(No se muestran 30 ediciones intermedias de otro usuario)
Línea 3: Línea 3:
 
Calcula la sucesión de Fibonacci.
 
Calcula la sucesión de Fibonacci.
  
yMfACh  <a href="http://norayqufkbkk.com/">norayqufkbkk</a>, [url=http://zmvtnhicwnhk.com/]zmvtnhicwnhk[/url], [link=http://rjeiceqkzexk.com/]rjeiceqkzexk[/link], http://zlnvcwjtmtwn.com/
+
== Código ==
  
yGw8FK  <a href="http://sdjxijmqmvcr.com/">sdjxijmqmvcr</a>, [url=http://deujofbakdgc.com/]deujofbakdgc[/url], [link=http://egwkolkpbtfp.com/]egwkolkpbtfp[/link], http://pymbnstothvb.com/http://mult.fizwig.com/ diablo 3 hd
+
 
http://reality.phreesite.com/ adobe photoshop cs4 keygen
+
  <nowiki>
http://foxy.sitebooth.com/ download for adobe photoshop cs3
+
LDI 1,1    ; 0 constante 1
http://ling.700megs.com/ assassins creed 2 in
+
LDI 300,2 ; 2 contador A
http://lager.freehostplace.com/ 3dmark vantage registration code
+
LDI 301,3 ; 4 contador B
http://fara.mycyberway.com/ naruto shippuden video
+
LDI 302,C  ; 6 contador de escritura
http://tasken.110mb.com/ bleach 3 english
+
LDI 400,D  ; 8 límite
http://mult.fizwig.com/diablo-3-screen.html diablo 3 images
+
 
http://reality.phreesite.com/adobe-photoshop-cs4-11.html photoshop cs4 trial
+
LD 1,A  ; A
http://foxy.sitebooth.com/photoshop-cs3-extended-keygen-download.html photoshop cs3 download com
+
LD 1,B
http://lager.freehostplace.com/3dmark-vantage-basic.html 3dmark vantage 9800
+
ST A,2
http://fara.mycyberway.com/naruto-shippuden-10.html naruto shippuden 12
+
ST B,3
http://tasken.110mb.com/bleach-62-english.html bleach 34 english
+
 
http://mult.fizwig.com/diablo-3-launch-date.html diablo 3 12 31 08
+
ADD A,B  ;E
http://reality.phreesite.com/adobe-photoshop-cs4-trial.html photoshop cs4 video
+
ST B,C
http://foxy.sitebooth.com/adobe-photoshop-cs3-extended-keygen-download.html can i download photoshop cs3
+
ADD 1,2
http://lager.freehostplace.com/3dmark-vantage-for-xp.html 3dmark vantage special offer code
+
ADD 1,3
http://fara.mycyberway.com/naruto-shippuden-ex.html naruto shippuden 399
+
ADD 1,C
http://tasken.110mb.com/bleach-14-english.html bleach 14 english
+
LD 2,A
http://mult.fizwig.com/diablo-3-complaints.html diablo 3 panel
+
LD 3,B
http://tasken.110mb.com/bleach-80-english.html bleach 100 english
+
JGE D,C,E
http://mult.fizwig.com/diablo-3-pay.html diablo 3 sucks
+
 
http://tasken.110mb.com/bleach-166-english-subbed.html bleach episode 164 englishhttp://goog.phreesite.com/ beef rice recipe
+
LDI CACA,B
http://stor.fizwig.com/ desperate housewives quotes
+
ST B,C
http://cerj.sitebooth.com/ moulin rouge tango
+
</nowiki>
http://scor.freehostplace.com/ download windows xp updates
+
 
http://rolling.mycyberway.com/ pc screen shot how
+
== Algoritmo ==
http://yotter.110mb.com/ recipe of chicken soup
+
 
http://bolt.700megs.com/ 5 on lost
+
Cargamos 1 en A y en B. El registro 2 llevará la posición de A, el 3 la de B y el registro C la posición de escritura. En cada iteración se suma A y B, se guarda el resultado en C se incrementan los "punteros" 2, 3 y C, y se vuelven a cargar los valores de A y B.
http://goog.phreesite.com/mongolian-beef-recipe.html pot roast beef recipe
+
 
http://stor.fizwig.com/desperate-housewives-series.html desperate housewives pics
+
En seudocódigo:
http://cerj.sitebooth.com/moulin-rouge-history.html moulin rouge john
+
 
http://scor.freehostplace.com/download-service-pack-2-for-windows-xp.html windows xp sp3 final download
+
  <nowiki>
http://rolling.mycyberway.com/xp-screen-shot-how.html how to screen shot os
+
A=1
http://yotter.110mb.com/chicken-soup-casserole-recipe.html chinese chicken soup recipe
+
B=1
http://bolt.700megs.com/lost-5-9.html lost seasson 5
+
[2]=A
http://goog.phreesite.com/beef-marinade-recipe.html pepper beef recipe
+
[3]=B
http://stor.fizwig.com/desperate-housewives-season-three.html desperate housewives plot
+
salto:
http://cerj.sitebooth.com/moulin-rouge-cabaret.html history of the moulin rouge
+
B=A+B
http://scor.freehostplace.com/buy-and-download-windows-xp.html free download of windows xp home edition
+
[C]=B
http://rolling.mycyberway.com/how-to-email-a-screen-shot.html how to take a screen shot in os x
+
2++
http://yotter.110mb.com/hearty-chicken-soup-recipe.html southwestern chicken soup recipe
+
3++
http://bolt.700megs.com/lost-5-more.html lost 5 28
+
C++
http://stor.fizwig.com/desperate-housewives-clothes.html ultimate desperate housewives
+
A=[2]
http://cerj.sitebooth.com/moulin-rouge-analysis.html john leguizamo moulin rouge
+
B=[3]
http://yotter.110mb.com/chicken-foot-soup-recipe.html fashion chicken noodle soup recipehttp://holoim.741.com/ colored contacts lenses
+
si C<D goto salto
http://kars1548.freehostplace.com/ power dvd for vista
+
</nowiki>
http://goru1693.mycyberway.com/ maple story guild
 
http://cope5432.700megs.com/ watch family guy episodes online
 
http://gali1356.phreesite.com/ doom 3 doom 2  
 
http://laro5691.fizwig.com/ need for speed pro street no cd
 
http://koros1256.sitebooth.com/ black celebrity hair styles
 
http://holoim.741.com/plano-colored-contact-lenses.html wholesale colored contact lenses
 
http://kars1548.freehostplace.com/power-dvd-pro.html power dvd screen
 
http://goru1693.mycyberway.com/maple-story-pet.html maple story downloads
 
http://cope5432.700megs.com/watch-family-guy-com.html watch family guy movin out
 
http://gali1356.phreesite.com/doom-3-cheats-for-xbox.html doom 3 weapon
 
http://laro5691.fizwig.com/need-for-speed-pro-street-drift.html need for speed underground pro street
 
http://koros1256.sitebooth.com/black-hair-styles-updos.html layered black hair styles
 
http://kars1548.freehostplace.com/power-dvd-dx.html power dvd serial number
 
http://goru1693.mycyberway.com/maple-story-mage-guide.html maple story vacuum hack
 
http://cope5432.700megs.com/watch-new-family-guy-episode.html watch family guy boys do cry
 
http://gali1356.phreesite.com/doom-3-movie.html doom 3 trailer
 
http://laro5691.fizwig.com/need-for-speed-pro-street-2008.html need for speed pro street vista
 
http://koros1256.sitebooth.com/funky-short-hair-styles.html short hair styles bangs
 
http://kars1548.freehostplace.com/cyberlink-power-dvd-se.html power dvd help
 
http://goru1693.mycyberway.com/maple-story-level-hacks.html maple story windowed mode
 
http://cope5432.700megs.com/watch-family-guy-e.html watch family guy eppisodes
 
http://gali1356.phreesite.com/doom-3-wad.html doom 3 flash
 
http://laro5691.fizwig.com/need-for-speed-pro-street-saved-games.html need for speed pro street supporthttp://kost1359.phreesite.com/ jessica simpson and hair
 
http://ginhet.blackapplehost.com/ jennifer aniston haircut
 
http://jork7513.700megs.com/ gta 4 ps3
 
http://rotans.freetzi.com/ birth defects causes
 
http://yolistar.fusedtree.com/ free ringtones wallpapers
 
http://lenas.hostshield.com/ the red alert 3
 
http://polr1982.fizwig.com/ stargate atlantis 1  
 
http://kost1359.phreesite.com/jessica-simpson-hair-colors.html jessica simpson short hair cuts
 
http://ginhet.blackapplehost.com/jennifer-aniston-boobs.html courtney cox and jennifer aniston
 
http://jork7513.700megs.com/gta-4-hints.html gta 4 websites
 
http://rotans.freetzi.com/causing-birth-defects.html common birth defect
 
http://yolistar.fusedtree.com/free-3d-desktop-wallpaper.html free football wallpaper
 
http://lenas.hostshield.com/westwood-red-alert-3.html red alert 3 requirement
 
http://polr1982.fizwig.com/stargate-atlantis-online-free.html scifi stargate atlantis
 
http://kost1359.phreesite.com/are-jessica-simpson-hair.html jessica simpson hair product
 
http://ginhet.blackapplehost.com/jennifer-aniston-s.html photos of jennifer aniston
 
http://jork7513.700megs.com/gta-4-video-review.html gta 4 interview
 
http://rotans.freetzi.com/india-birth-defects.html birth defect caused by
 
http://yolistar.fusedtree.com/free-simpsons-wallpaper.html free skull wallpaper
 
http://lenas.hostshield.com/a-red-alert-3.html red alert 3 bear
 
http://polr1982.fizwig.com/stargate-atlantis-team.html stargate atlantis blog
 
http://ginhet.blackapplehost.com/jennifer-aniston-photo-gallery.html jennifer aniston children
 
http://jork7513.700megs.com/about-gta-4.html music in gta 4
 
http://rotans.freetzi.com/national-birth-defect.html birth defect information
 
http://yolistar.fusedtree.com/free-wedding-wallpaper.html free blog wallpaper
 
http://polr1982.fizwig.com/stargate-atlantis-screen.html stargate atlantis critical masshttp://koron.phreesite.com/ vegetarian bean recipes
 
http://phiz.700megs.com/ chocolate pudding recipes
 
http://users6.nofeehost.com/rooliks/ avatar book 3 streaming
 
http://yuta1563.sitebooth.com/ healthy breakfast recipes
 
http://jonnysx.hothostcity.com/ simple chicken recipies
 
http://tonika.110mb.com/ jessica simpson breasts
 
http://toris.freehostplace.com/ cream of potato soup recipe
 
http://koron.phreesite.com/best-vegetarian-recipes.html cheap vegetarian recipes
 
http://phiz.700megs.com/chocolate-bundt-cake-recipe.html chocolate trifle recipes
 
http://users6.nofeehost.com/rooliks/avatar-book-3-20.html avatar book 3 ch 14
 
http://yuta1563.sitebooth.com/healthy-muffin-recipes.html healthy pumpkin recipes
 
http://jonnysx.hothostcity.com/oven-chicken-recipies.html can chicken recipies
 
http://tonika.110mb.com/jessica-simpson-height.html jessica simpson music video
 
http://toris.freehostplace.com/potatoes-soup-recipe.html chicken potato soup recipe
 
http://koron.phreesite.com/vegetarian-dinner-recipe.html vegetarian soups recipes
 
http://phiz.700megs.com/baking-chocolate-recipe.html chocolate mayonnaise cake recipe
 
http://users6.nofeehost.com/rooliks/avatar-book-3-dvds.html avatar book 3 the boiling rock part 1
 
http://yuta1563.sitebooth.com/healthy-italian-recipes.html best healthy recipe
 
http://jonnysx.hothostcity.com/chicken-recipies-com.html chicken and stuffing recipies
 
http://tonika.110mb.com/photos-of-jessica-simpson.html jessica simpson latest
 
http://toris.freehostplace.com/slow-cooker-potato-soup-recipe.html basic potato soup recipe
 
http://tonika.110mb.com/jessica-simpson-gossip.html jessica simpson discography
 
http://toris.freehostplace.com/potato-soup-recipe-in.html potato soup recipe chicken broth
 

Revisión actual del 03:24 22 ene 2009

Programa de prueba de las instrucciones aritméticas.

Calcula la sucesión de Fibonacci.

Código

 
LDI 1,1    ; 0 constante 1
LDI 300,2  ; 2 contador A
LDI 301,3  ; 4 contador B
LDI 302,C  ; 6 contador de escritura
LDI 400,D  ; 8 límite

LD 1,A   ; A
LD 1,B
ST A,2
ST B,3

ADD A,B  ;E
ST B,C
ADD 1,2
ADD 1,3
ADD 1,C
LD 2,A
LD 3,B
JGE D,C,E

LDI CACA,B
ST B,C

Algoritmo

Cargamos 1 en A y en B. El registro 2 llevará la posición de A, el 3 la de B y el registro C la posición de escritura. En cada iteración se suma A y B, se guarda el resultado en C se incrementan los "punteros" 2, 3 y C, y se vuelven a cargar los valores de A y B.

En seudocódigo:

 
A=1
B=1
[2]=A
[3]=B
salto:
B=A+B
[C]=B
2++
3++
C++
A=[2]
B=[3]
si C<D goto salto