Brochures

270 Test 1 Practice 2 Sp 14

Description
antenna
Categories
Published
of 12
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  Agenda:Problem solving session – Test Preparation (Continued…)  All questions pertain to the HC11 MPU1-In the HC11 list the number o! bits used in the: address bus 1  data bus #  ea$h memor% $ell #  a$$umulator A #  CC&---#-- inde' registers ( 1 sta$) pointer 1  double a$$umulator 1 *+-,hat is the highest address that $an be addressed using ./0 one b%te in the #HC1123344 5+66 13 78-9tarting at address 233++ rite the mnemoni$ $ode toload immediate the he' value 2;# into a$$umulator A /<AA =2;# 5= : immediate7 + b%tes;-,hat is the $ontent o! the program $ounter immediatel% a!ter e'e$uting the $ode in 587PC > 233+;6-,rite the $ode starting at address 23383 to load a$$umulator ? ith the $ontents o! address 233;3 using minimum number o! b%tes* 5Ho man% b%tes o! memor% at a minimum are required !or this7/<A? 2;3 5+b%tes7 : <ire$t -,hat is the $ontent o! the program $ounter at end o! $ode in 567PC > 2338+  @-Again in an #-bit s%stem rite the mnemoni$ $ode to store the he' value 2 4A  at address 23?+C* ,hat t%pe o! addressing mode is used here/<AA =2;A 5loaded the value into ACC A79TAA 23?+C'planation:2# 2;A2?@23?2+C .umber o! b%tes > 6 b%tes #-In the same s%stem rite a mnemoni$ $ode to load the he' value 2 3201  stored at starting lo$ation 2 1A26  into Bone a$$umulator* 9pe$i!% the a$$umulator used !or this purpose* Also hat is the $ontent o! ACC? !olloing the e'e$ution o! the instru$tion - Must use ACC - </<< 21A+ 5load into < the $ontest o! 21A+ 7'tended addressing mode<> DA ?E > D 28+ 231EF-hat are the $ontents o! a$$umulators A and ? i! a!ter the e'e$ution o! the $ode in 5#7 the !olloing $ommand as e'e$uted: A<<< =21+4  A<<< =21+4 : add to $ontents o! < the 21+428+3121+4 G--------- > 26 3 83A > 263? >28313-Per!orm the !olloing #-bit binar% additions and !or ea$h $ase give the e'pe$ted result in the $arr% 5C7 ero 57 sign 5.7 and over!lo 5J7 bits:a7 1 1 3 1 1 3 1 1b7 3 1 1 3 3 3 1 3G 3 3 1 3 3 3 3 1 G 3 3 1 3 3 3 1 31111113313333133 . >1. >1J >1$71111111133333331 1 33333333C >1  >1d71331133113333313-------------1 33311311C >1 J >1

Content and Scope

Jul 23, 2017

class 8

Jul 23, 2017
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks