COMP2300 Assignment 2 Light Show Computer Organisation and Program Execution

2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution
https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 1/12
hsalpsnU no renoneS onrA yb otohP
tib:orcim ruoy no wohs dnuos dna thgil a etaerC
wohS thgiL :2 tnemngissA
wohS thgiL :2 tnemngissA / stnemssessA / 9122NGNE/0036/0032PMOC
dezis-ytic a etaerc ot syarra DEL dna srotcejorp eguh esu yendyS
diviV dna lavitseF nethgilnE s’arrebnaC ekil slavitsef aidem latigiD
?dettimbus neeb sah tnemssessa ym wonk I od woH
!gnihsin t’nera sboJ IC ym dna enildaed eht erofeb ]sruoh 21 ,setunim 06 ,setunim 5[ s’tI
?pleh rof uoy liame I nac ,krow t’nseod margorp yM
?tnemucod ngised a etirw I od woH
?tnemucod ngised a etirw ot evah I oD
?naem noitatnemelpmi ruoy fo seitilibapac lacnihcet eht etartsnomed yltneicfus seod tahW
?naem gninnacs seod tahW
?ekans ekiL ?emag a ekam I naC
tcafitrA fdp tropeR
tsilkcehC noitelpmoC
detratS gnitteG
noissimbuS
)%001-%08( noitcnitsiD hgiH
)%97-07( noitcnitsiD
)%96-06( tiderC
)%95-05( ssaP
noitatnemelpmI roF saedI
airetirC gnikraM
selbarevileD
noitacicepS
seiciloP dna seluR
egap siht nO

2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution
https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 2/12
.tnemngissa
eht trats neht dna sbal eht etelpmoc tsr uoy taht dnemmocer ylgnorts ew ,tnetnoc
eht dnatsrednu ton od ro sbal evoba eht ni sksat eht detelpmoc ton evah uoy fI
pU gnipparW dna stpurretnI :11 & 01 baL
kcatS dna serutcurtS ataD ,snoitcnuF :9 baL
yknilB :8 baL
edoC enihcaM cisaB :7 baL
:01-6 sbal ni denrael evah uoy tahw nopu sdliub tnemngissa ehT
seiciloP dna seluR
!dessap sah enildaeD
:)mp 95:11 ,3202 yaM 62( enildaeD litnU emiT
001 / _ :fo tuo dekraM
%52 :gnithgieW
🙂 gnidaer peek :noitacicepS
knil :etalpmet tnemngissA
mp 95:11 ,3202 yaM 62 :enildaeD
!ti htiw eveihca nac uoy tahw dna yarra DEL s’tiborcim ruoy fo noitartsnomed a si
wohs ruoy rof noitacilppa ehT .reweiv a segagne taht ecneirepxe thgil gnignahc a etaerc ot
tiborcim ruoy no yarra DEL eht sesu taht margorp ylbmessa MRA na etirw ot gniog era uoY
!tib:orcim ruoy no wohs thgil orcim a etaerc ot si tnemngissa
siht ni ksat ruoY .yojne ot elpoep rof wohs )dnuos dna( thgil
Code Help
2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution
https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/
src/example_file.S src/example file.S src/
)pool ro taeper nac ti( pots reven tsum
noitatnemelpmi
ruoy fo seitilibapac lacnihcet eht etartsnomed yltneicfus tsum wohs thgil eht
egami 5×5 yna fo gniyalpsid elbane ot sDEL eht no gninnacs esu dluohs
emit revo segnahc taht wohs thgil a etaerc ot sDEL eht esu tsum
)knil( etalpmet tnemngissa eht gnisu ylbmessa 7vMRA ni nettirw eb tsum
:margorp ruoY
.tnemngissa ruoy rof noitaiciceps lacinhcet a s’ereH
noitacicepS
noisnetxe na tuohtiw dettimrep ton si noissimbus etal
dettimrep si egaugnal rehto ro C on ,ylbmessa MRA ni eb tsum noissimbus ruoy
gniod er’uoy taht krow artxe ssim t’now ew yaw
siht ;ti yfidom dna ereht deen uoy tahw ypoc dna rednu el wen a etaerc
daetsni uoy tseggus ew neht ,sel yrarbil eht ot segnahc ekam ot tnaw uoy fi
hsiw uoy fi sel yrarbil dedulcni eht esu yam uoy
ton si ,yako si :ge
eman rieht ni secaps niatnoc ton dluohs sel lanoitidda
yrotcerid eht rednu tfel eb dluohs sel lanoitidda
yltcerroc baltig ot dehsup dna
oper eht ni dedulcni era sel lanoitidda yna erusne ot ytilibisnopser ruoy si ti
sbal ruoy morf sel / sngised esu-er yam uoy
etavirp sa oper ruoy krof uoy erusne ,ksat tnemssessa laudividni na si siht

2024/3/29 10:33
Assignment 2: Light Show | Computer Organisation and Program Execution
src/____-lib.S
statement-of-originality.md
https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 4/12
.ti fo ssenesicnoc eht gnicuder yb troper esrow a gnitirw pu
dne lliw uoY .sdrow 0001 tih ot deen eht leef t’nod esaelp ,sdrow ssel ni uoy fo deksa
neeb sah tahw fo lla desserdda evah uoy leef uoy fI .sdrow 0001 < yas ew taht etoN src/main.S src/____.S .ediug tnemucod ngised eht daer ,3 dna 2 smeti no noitamrofni erom roF .nihtiw gnitirw eht fo ytilauq eht dna ruoy hguorht detaulave eb lliw 3 dna 2 smetI .edoc margorp ruoy hguorht yliramirp detaulave eb lliw 1 metI )001/52( evah thgim ti snoitatimil tahw dna ngised ruoy rof etairporppa dna tcerroc si noitatnemelpmi ruoy yhw fo noitaulave dna sisylana fo noitacitsihpoS )001/52( noitaciceps tnemngissa eht steem ti woh dna ngised ruoy fo noitacitsihpoS )001/05( egaugnal ylbmessa 7v-MRA ni noitatnemelpmi ruoy fo noitacitsihpoS :airetirc gniwollof eht no detaulave eb lliw tnemngissa ruoY airetirC gnikraM tnemucod ruoy ni dda ot tnaw uoy segami yna gniniatnoc lanoitpo tnemucod ngised drow 0001< ruoy gniniatnoc nwo ruoy ton si taht krow yna rof secnerefer fo tsil a dna diu ,eman ruoy gniniatnoc )lanoitpo( ni dnuof snoitcnuf eht fo snoisrev deidom ro evitanretla niatnoc taht sel yna )lanoitpo( ssorca noitatnemelpmi ruoy tilps ro edulcni ot hsiw uoy sel lanoitidda yna noitatnemelpmi ruoy gniniatnoc :dettimbus eb tsum sel gniwollof eht ,tnemngissa siht etelpmoc yllufsseccus oT selbarevileD ksat eht rof etairporppa erew seciohc ngised ruoy yhw ti dehsilpmocca uoy woh gniyalpsid er’uoy wohs thgil tahw ton ,ngised edoc eht si siht )noitaciceps tnemngissa eht steem ti woh dna( si ngised ruoy tahw :gnibircsed tnemucod ngised sdrow 0001< a fo noissimbus eht edulcni tsum thgil elbaidom ylisae dna gnignahc a etaerc ot )serutcurts atad( yromem esu dluohs )regrahc BSU a otni gulp dna ti daolpu uoy retfa skrow ti ,si taht( retupmoc a ot detcennoc ton tub BSU revo derewop si tiborcim eht nehw krow tsum 2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 5/12 .segnahc esoht weiv ot niaga draob eht ot ti gnidaolpu neht dna edoc eht fo noitacidom ,elttil yrev htiw ro ,tuohtiw ,yromem ni serutcurts atad gniyfidom yb elballortnoc dna elbaegnahc ylisae si margorp eht taht snaem sihT ”yromem fo esu dooG“ .X egnar ni edarg a deetnaraug era uoy taht naem ton seod ,X egnar edarg ni gnihtemos detnemelpmi yllufsseccus evah uoy esuaceb tsuj taht snaem sihT .edarg eht ot ni rotcaf osla .cte ,gnimmargorp eht fo ytilauq ,troper eht fo ytilauq eht sa hcus stcepsa rehto ,denoitnem sa dna ediug a sa dedivorp tsuj era esehT yromem fo esu dooG ,dennacS ,yalpsiD gnivoM )%96 - 06( tiderC yromem fo esu rooP ,dennacS ,yalpsiD gnivoM yromem fo esu dooG ,dennacs-noN ,yalpsiD gnivoM )%95 - 05( ssaP .seno ytilauq-wol wef a naht retteb ylbaborp si erutaef ytilauq hgih elgnis a ,hguoht taht gniyas nI .kram eht rehgih eht ,si noissimbus ruoy derutaef erom eht ,revewoH .)deiceps esiwrehto sselnu( egnar edarg taht morf tniop eno od ot evah ylno uoy taht gninaem ,noissimbus a fo elpmaxe na si tniop hcaE .ekil kool ot segnar edarg eht fo ytlucfid eht gnitcepxe er’ew tahw fo aedi na uoy evig ot ediug a sa dedivorp ylno si dna evitsuahxe-non si tsil sihT noitatnemelpmI roF saedI ediug elyts ylbmessa eht kcehc ,noitamrofni erom rof gnitnemmoc doog dna noitnevnoc gnillac gniwollof ekil sgniht sedulcni sdradnats gnimmargorp ylbmessa ot ecnerehda dna elyts ruoy yalpsid gninnacs cisab a dnoyeb noisnetxe fo level ruoy )deyalpsid gnieb si tahw egnahc ot edoc eht ot segnahc on / elttil eriuqer dluohs noissimbus ytilauq hgih a( gniyalpsid si tahw egnahc ot si ti ysae woh wohs thgil ruoy gnidocne rof yromem fo esu ruoy :margorp ruoy fo noitacitsihpos eht gnissessa fo trap a eb ot gniwollof eht redisnoc nac uoy ,1 meti roF 2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 6/12 .skram lluf tcepxe nac uoy taht naem t’nseod ,egnar siht ni gnihtemos od uoy esuaceb tsuJ .001 ton ,+08 fo kram a si DH nA ruo yb dessim teg yam ti ro ,oper eht fo htap ro eman eht egnahc TON od etavirp sa tcejorp ruoy krof uoy erusne etalpmet tnemssessa eht enolc dna krof yletelpmoc egap tnemssessa siht daer detratS gnitteG .noissimbus tnemngissa ruoy eb ot nekat si enildaed eht erofeb etalpmet tnemngissa eht fo krof ruoy fo timmoc dehsup yltnecer tsom eht ,baLtiG hguorht si noissimbuS noissimbuS )tsr rotut ruoy htiw tlusnoc ,TLUCIFFID YREV :gninraw( ,cte ,ssapmoc ,epocsoryg sa hcus slarehpirep lanretxE gnieb si tahw egnahc dna lortnoc ot )snottub( stpurretni erawdrah elpitlum gnisU yalpsid eht htiw egnahc dna yromem htiw demmargorp eb nac taht lortnoc ssenthgirb DEL-rep :ge )noitaludoM htdiW esluP( MWP xelpmoC :fo eno tsael ta dna level tiderC morf gnihtyrevE )%001 - %08( noitcnitsiD hgiH yalpsid ruoy fo trap largetni na sa )s(tpurretni remit eht gnisU rotareneG rebmuN modnaR erawdrah eht gnisu yalpsid thgil gnignahc ro evitareneG )sDEL lla( ssenthgirb level neercs :ge )noitaludoM htdiW esluP( MWP cisaB :fo eno tsael ta dna level tiderC morf gnihtyrevE )%97 - 07( noitcnitsiD 2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ statement-of-originality.md statement-of-originality.md statement-of-originality.md eht morf secnerefer ekat morf troper ruoy ekat eht morf diu dna eman ruoy ekat .esnes sekam tuptuo eht erus ekam dna si boj eht fo tluser eht tahw ees uoy taht tnatropmi si ti hcus sA .sesoprup gnikram rof fdp troper a otni degakcap eb lliw oper ruoY tcafitrA fdp tropeR gnissap era yeht dna stset ic baltig eht dekcehc evah uoy tcerroc si ti erusne ot baltig no tcafitra fdp troper eht dekcehc evah uoy ruoy dehsup dna ,dettimmoc ,tuo dell evah uoy ruoy dehsup dna ,dettimmoc ,tuo dell evah uoy baltig ot sel ylbmessa ruoy dehsup dna dettimmoc ,devas evah uoy ecitcarp doog gnisu edoc ruoy fo lla etorw evah uoy evoba detsil sel eht dettimbus evah uoy tsilkcehC noitelpmoC .murof esruoc eht no noitseuq doog a ro bal ruoy ni rotut ruoy ksa neht ,kcuts teg ro ekatsim a ekam og uoy sa gnihsup dna gnittimmoc ,gnitset ,gniggubed ,trap hcae no krow egap skcirt dna spit tiborcim eht daer rehtegot t ot gniog si margorp eht woh fo kniht krow dna kool ot gniog era serutcurts atad eht woh fo kniht tnemelpmi ot gniog era ruoy tahw dna tnemngissa ruoy nalp CS Help, Email: tutorcs@163.com 2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 8/12 src/____.S .siht ekil gnihtemos kool dluohs hcihW .fdp ruoy gniniatnoc el piz a daolnwod lliw sihT .nottub eht no kcilc ,noitces ”stcafitrA boJ“ a ees dluohs uoy erehw ,egap boj eht ot nekat eb ll’uoy ,nehT no kcilc neht ,)evoba sa( timmoc tnecer tsom ruoy no noci ic eht kcilc tsr ,fdp eht weiv oT fdp elgnis a otni meht fo lla enibmoc sel ruoy fo lla morf edoc eht ekat 2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 9/12 ?naem noitatnemelpmi ruoy fo seitilibapac lacnihcet eht etartsnomed yltneicfus seod tahW .siht rof esicrexe bal a si erehT ?naem gninnacs seod tahW .rotareneG rebmuN modnaR eht ekil sgniht dna snottub gninibmoc yb od nac uoy tahw fo elpmaxe doog a si siht esiwrehto tuB .yalpsid eht no gninnacs esu ot deen llits lliw uoy dnA .yromem ni derots si hcihw etats emag eht ffo desab llits si yalpsid eht sa gnol sA !seY ?ekans ekiL ?emag a ekam I naC .ereh ic baltig tuoba ofni lareneg erom si erehT 2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 10/12 .)ereh unem yobemag kniht( unem a gnirolpxe ,emag a gnillortnoc ,pam a dnuora gnillorcs :ge ,deriuqer eb dluow tcapmi fo dnik emos evah snottub eht erehw etats htiw gnihtemos gniod neht ,elpmaxe rof nottub a gnidda erew uoy fi taht snaem sihT .yaw tnacingis fo mrof emos ni wohs eht htiw deriap eb ot deen lliw noisnetxe eht neht noitcnitsiD hgiH ro noitcnitsiD fo edarg a rof gnimia er’uoy fi ,revewoH .uoy ni eveileb ew tub ,egnellahc a si tnemucod esicnoc dna raelc a gnitirW drow eht nihtiw yats dna noitaciceps eht ni snoitseuq eht gnirewsna era uoy erus ekaM .ecivda rof egap tnemucod ngised eht ta kool a evaH ?tnemucod ngised a etirw I od woH .tnemngissa eht fo flah taht rof orez teg lliw uoy eno etirw t’nod uoy fI .tnemucod ngised eht hguorht detaulave era tnemngissa siht rof skram eht fo %05 !seY ?tnemucod ngised a etirw ot evah I oD !ksa dna murof eht no yletavirp tsop neht erusnu er’uoy fI taeb eht htiw ssenthgirb ni worg tub ,remmid era sDEL retuo eht taht os ,staeb traeh eht nehw sDEL eht rof ssenthgirb ni egnahc a edulcni osla ot pool traeh gnitaeb eht yfidom uoY )noitaludoM htdiW esluP( MWP xelpmoC rotareneg rebmun modnar eht morf tluser eht no desab )ralugerri ,deppots ,nekorb ,gnitaeb( setats tnereffid hguorht noitisnart traeh eht ekam uoY )snoitairav 5 >( rotareneg rebmun modnar eht morf tluser eht no desab staeb ti nehw
traeh eht fo epahs dna ezis eht egnahc ot pool traeh gnitaeb eht yfidom uoY
rotareneG rebmuN modnaR erawdrah eht gnisu yalpsid thgil gnignahc ro evitareneG
ni yalpsid eht dedocne evah uoy taht gnimussa ,tneicfus eb ydaerla dluow sihT
yromem fo esu dooG ,dennacS ,yalpsiD gnivoM
:ytilibapac eht etartsnomed
ot desu eb dluoc pool siht woh dna ytilauq noitatnemelpmi fo selpmaxe emos era woleB
traeh gnitaeb a fo pool dnoces 7 a :elpmaxe na esu s’teL
.detnemelpmi
evah uoy tahw etartsnomed ot elba eb ot sdeen ti ,tuB .xelpmoc yllausiv ro gnol eb ot
deen t’nseod ,sDEL eht no deyalpsid gnieb yllautca si tahw ,wohs thgil ruoy taht snaem sihT
程序代写 CS代考 加微信: cstutorcs
2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution
https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 11/12
.flesruoy od nac uoy hcihw spets
evoba eht sa gniht emas eht yltcaxe gniod tsuj eb dluow ew ,”kcehc“ ot su ksa t’nod esaelP
.)!enod llew( dettimbus neeb sah tnemssessa ruoy neht
enildaed eht erofeb si emit eht
etisbew baltig eht no gnikcehc nehw
)timbus ot dnetni uoy sel eht ,.e.i( tcerroc era tnemssessa eht fo krof ruoy ni sel eht
?dettimbus neeb sah tnemssessa ym wonk I od woH
.od nac ew gnihtemos eb yam ereht dna tsop murof etavirp a hguorht )enildaed
eht retfa( wonk su tel esaelP .enildaed eht retfa yrotisoper tig ruoy htiw seussi yna s’ereht fI
😇 ylrae hsin dna ylrae trats ot si eussi siht diova ot yaw tseb ehT
.yltcerroc dettimbus neeb evah sel ruoy taht kcehc yllaunam ot evah tsuj lliw uoY .enildaed
eht erofeb hsin sboj IC ruoy ees ton yam uoY .pu peek t’nac srevres IC eht ,ecno ta setadpu
gnihsup era stneduts ynam nehw ,eud si tnemngissa na taht yad eht no yletanutrofnU
!gnihsin t’nera sboJ
IC ym dna enildaed eht erofeb ]sruoh 21 ,setunim 06 ,setunim 5[ s’tI
.)ksat tnemssessa laudividni yna
rof sa( ”srotcurtsni ot etavirp“ eb tsum noissimbus tnemngissa ruoy ot detaler stsop muroF
.pleh ot elba era ew yaw
ylno eht si hcihw murof esruoc a edivorp eW .smaeT ro liame revo pleh teg t’now uoy ,yrroS
?pleh rof uoy liame I nac ,krow t’nseod margorp yM

2024/3/29 10:33 Assignment 2: Light Show | Computer Organisation and Program Execution
609 360 432 25 :NBA
C02100 :edoC redivorP SOCIRC
)ytisrevinU nailartsuA( 20021VRP :DI redivorP ASQET
arrebnaC ,ytisrevinU lanoitaN nailartsuA ehT
1115 5216 2 16+
noitamrofnI fo modeerF
remialcsiD
UNA tcatnoC
.yrotsih namuh ni serutluc gniunitnoc
tsedlo eht gnoma era serutluc esohw dna ,krow dna teem ew sdnal lanoitidart esohw no
snailartsuA snoitaN tsriF lla ot dna noiger arrebnaC eht fo elpoep irbmagN dna lawannugN
eht ot stcepser ruo syap dna setarbelec ,segdelwonkca ytisrevinU lanoitaN nailartsuA ehT
yrtnuoC fo tnemegdelwonkcA
https://comp.anu.edu.au/courses/comp2300/assessments/assignment-2/ 12/12