WPC5, Hhd/y-LzZs5r!.yǭ}U^kZQjfp'dnaK֊ڣAã݁pc?lW]Snڬ4U^g&R "m @!f[? DeitLiđPG̕VrWqOD8Du헟>(GGd$EWn 9 E>(05xa4|ZÉ;| ٯ KU .:zRU߄LAd=t< v,RRrh`{` Ruk;߰5a2P wOfQX*#6lښySߣ36xbHemAqGDro\[ 0( 0C" 0=e 03 B B* B B9 BV BsU2 % D+ AI  D+ AI < D+ AI- #v U.?m D+3 AI^U N 0UJ D+ AI; 0 0a  D+ AIU,Z 0? D+ AI0 0y 0,Nw4 0^  m 0 0o 0  0 0 0A 0 0 0$ 0 0H 0 0! 0S" 0" 0# 0?$ 0$ 0i% 0%%%y& 0D')')U6k)k)k)k)k)k)k)k) A) 0@*@*@*@* 0K+($($    ($    ( $   d&0 d d d dP Pd d<  p`+CourierTT X Level 1 Level 2 Level 3 Level 4 Level 5)dd AC Level 1 Level 2 Level 3 Level 4 Level 5)ddAC Level 1 Level 2 Level 3 Level 4 Level 5)ddAC\\MVACCOUNTS\HP LaserJet 2100 Series PCL 60<  p`ArialTT Level 1 Level 2 Level 3 Level 4 Level 5)ddAb"C(@ Z6Times New Roman Regular*+ (_2623  .. Level 1 Level 2 Level 3 Level 4 Level 5)ddA7 C*D+D (_25   ," <DL,23  ..," <DL,   *5+5 (_24  ) <DL)23  ..) <DL)  Ӂ Level 1 Level 2 Level 3 Level 4 Level 5)dd"#AC,ZAZArial *2+2 (_23 ` &<<DL&23  ..&<<DL& ` Ӂ Level 1 Level 2 Level 3 Level 4 Level 5)dd'(AXC*/+/ (_22  #DL#23  ..#DL#  *,+, (_21   DL 23  .. DL  Rv3TWin10*)+) (_20 h DDL23  ..DDL h rr5  3|xU*&+& (_19  L23  ..L  *#+# (_18   L23  .. L  *>> (_17  2( 4 <DL223  Ԁ2( 4 <DL2  *DD (_16   ," <DL,23  Ԁ," <DL,   *55 (_15  ) <DL)23  Ԁ) <DL)  *22 (_14 ` &<<DL&23  Ԁ&<<DL& ` *// (_13  #DL#23  Ԁ#DL#  *,, (_12   DL 23  Ԁ DL  *)) (_11 h DDL23  ԀDDL h *&& (_10  L23  ԀL  (## &_9   L23  Ԁ L  (>> &_8  2( 4 <DL223  2( 4 <DL2  (DD &_7   ," <DL,23  ," <DL,   (55 &_6  ) <DL)23  ) <DL)  (22 &_5 ` &<<DL&23  &<<DL& ` (// &_4  #DL#23  #DL#  (,, &_3   DL 23   DL  ()) &_2 h DDL23  DDL h (&& &_1  L23  L  &## $_   L23   L    K?A)  _X{XX XOZUS.,XX{ELE22MIC0 ` 0 ` "` "0 " "0h""0h"h"0""0p""0p"p"0 ""Microprocessors " " 25August20060 ` 0 ` "` "0 " "0h""0h"h"0""0p""0p"p"0 ""Assignment1Page  1  #X{X\## XxXXX{+#US.,OZ.,J(3?A$ !  <6X9`(Courier New VZ I&mage <=8C HKKKK(32$ L!OZUS.,TRW6&A4X3' Letter 6&A4\3'LetterT  ( $ Figure  1  _JTRW6&X3' Letter 6&A4X3'3'LetterTX{XX X"@XX{  LaTrobeUniversity  DepartmentofElectronicEngineering  ELE22MICMicroprocessors    Assignment12006 #X{X"@# 0 1.Writedowntheobjectcodeforthefollowingprogram.  * Indicatetheaddressingmodeandnumberofcyclesforeachinstruction.   MXxXXX{<( 4 <DLX<OZUS.,MXMXxԀORG0 0 " "$20000h""0h"h" OPCODE0p""OPERAND0 p"p"MODE 0x " " #cycles  x"x" _xtoiXD_:0 ` 0 ` "` "0 " "j "" Ѐ_PSHY_Ԁ0  $20000h""0h"h"183C0""0p""0p"p"0 ""INH0x " "5 k x"x" Ѐ_PSHX_0 ` 0 ` "` "0 " "$20020h""0h"h"3C0""0p""0p"p"0 ""INH0x " "4  x"x" Ѐ_LDX_Ԁ#_MyString_0  $20030h""0h"h"} "" ЀLDD#0 .~  _MoreChar_: /  Ѐ_XGDY_Ԁ   Ѐ_LDAB_Ԁ0,X A  Ѐ_CMPB_Ԁ#0 B  Ѐ_BEQ_Ԁ_AllConverted_Ԁ   Ѐ_SUBB_Ԁ#$30 T Ѐ_CMPB_Ԁ#9 U Ѐ_BLE_Ԁ_IsNumeric_Ԁ  _IsAlphabetic_: g Ѐ_SUBB_Ԁ#7 h _IsNumeric_:  Ѐ_ANDB_Ԁ#$0F z Ѐ_XGDY_Ԁ +{ Ѐ_ASLD_Ԁ , Ѐ_ASLD_  Ѐ_ASLD_ > Ѐ_ASLD_ ? Ѐ_XGDY_Ԁ  ЀABY Q Ѐ_XGDY_Ԁ R  Ѐ_INX_Ԁ ! ЀJMP_MoreChar_Ԁ d" _AllConverted_: e# Ѐ_XGDY_Ԁ $ Ѐ_PULX_ w % Ѐ_PULY_Ԁ (!x& ЀSTD0 ` _MyResult_!)'` "` " ЀRTS "( _MyString_Ԁ_fcc_Ԁ 08BE" ;#) Ѐ_Fcb_Ԁ0 #<* _MyResult_Ԁ_rmb_Ԁ2 $+ US.,OZ.,# ] Ma#OZUS.,#X{X  ]#XX{Pleasenote,copyingstraightfromthe_datasheets_,referencemanual,otherstudentsor_websites_Ԁwithoutadaptingtheprogramtoworkas N% , requestedwillresultin0marks.Anysourcesmustbeproperlyattributedandacknowledged.     x %` %;!- #%XGX%`# #X{XX%XG8#US.,OZ.,Attachtothefrontofyourassignment &!.  Name:򀀀0  StudentNo򀀀[(#0"" Subject:ELE22MICMicroprocessors  Assignment:1 D)$1 Lecturer:MrPaulMain0  0h""0h"h"  DateDue:Monday11thSept2006,2pm-*}%2""   DECLARATION  +f&3 TIcertifythattheattachedassignmentismyoriginalworkandthatnopartofithasbeen ,P'4 copiedorreproducedfromanyotherperson'sworkwithoutacknowledgment. ,9(5 Signed:򀀀Date:򀀀OZUS.,%XGXXX{%\ X%XG  . *7  US.,OZ., # ]  %\##X{X  ].#2.Writeaprogramtoclearthefirst10010bytesofRAM(_ie_Ԁsetthemtozero),startingat  memorylocation$3000.  Keypoints:    UseCLR0,XinstructionIndexedAddressing k   DEXdecrementstheXregister&setsthezeroflagifX=0   T   BEQBranchif_EQual_ԀtoZeroi.e.ZeroFlagisset =    Thereare100bytesfrom$3000..$3063inhex. & v  3. Write68HC11assemblycodeforasoftwaretimedelayprogramthatruns(delays)for 6 100_milli_Ԁseconds. " Assumethatthe68HC11isusinga8_MHz_Ԁcrystal,=>2MHzEclock=>0.5uspercycle.