ENG1003 Lecture Notes - Lecture 11: Memory Address, Multi-Core Processor, Electromagnet

66 views7 pages
Data$representation
Binary !"#$%&"'()*!%(&"+!,"-../(0.$12.!3!.4
5
6!+(3$.+-'!
7
8$(3$.+-'!
Bits$and$capacity
9&+ 0:&"-,/(%&'&+4(;(*<-..!*+()"&+($=(&"=$>(*+$,!*(?)*+(-(*&"'.! 7@5
A(*!,&!*($=(:&+*(=$,<*(-(")<:!,@#B-,-#+!,@9$$.!-"
C
9/+! ;(D(:&+* ',$)E!%(+$'!+B!,
C
J$,% ;(*!3!,-.(:/+!* ',$)E!%(+'+
6&K!(%!E!"%*($"(-,#B&+!#+),!($=(E,$#!**$, 0ALA(:,-&"*($=(#$<E)+!,(
,!*E$"*&:.!(=$,(!M!#)+&"'(&"*+,)#+&$"*4
C
N9>(O9>(P9>(Q9(<$*+(#$<<$"./()*!%(0R>(I>(S>(5G(,!*E!#+&3!./4
T!3&*!%(+$(%&*-<:&')-+!(:!+1!!"(E$1!,*2$=25777(-"%(E$1!,*2
$=257GU
C
Binary$arithmetic
V,$#!**$,(#-.#).-+!*(1@(:&"-,/(-,&+B<!+&#(1B!"(!M!#)+&"'(-,&+B<!+&#(
&"*+,)#+&$"
C
F-"(:!(E!,=$,<!%(W)&#N./(:/(#$<E)+!,*
C
A%%&+&$"X
5(Y(5(;(7(-"%(5(&*(#-,,&!%(=$,1-,%
Z=(:&"-,/(%&'&+*(,!E,!*!"+(23!(")<:!,>()*!(+1$[*(#$<E.!<!"+(
,!E,!*!"+-+&$">(+B!"(-%%
\.&E(:&+*(07(22](5>(5(22](74(-"%(-%%(5(0+$(=&"-.(%&'&+^4X
§
77777777(77775775(((;((((S((0-:*$.)+!(3-.)!4
55555555(55557557(((((((((((0:&+*(=.&EE!%4(0$"![*(#$<E.!<!"+4
55555555(55557555(((;(((2S((0+1$[*(#$<E.!<!"+4
6+-"%-,%(,!E,!*!"+-+&$"(+B-+(#$<E)+!,*()*!(=$,(23!(")<:!,*>(*&"#!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%&+&$"*X(var isEligible = (person.role
== "student") && (person.year >= 2)
&& !(person.hasTaken("ENG1002"));4
C
Logic$(mostly$used$for$
Boolean)
Bitwise$(only$numbers,$not$
Boolean)
Descript
n
Notatn
oo oA8T A9
pp pec A9
^ l 8eQ qA@A[
9$$.!-"
F$<:&"&"'(#$"%&+&$"*
8)<:!,*
6!+@#B!#N(:&+*
Boolean$algebraic$identities
Boolean$property Eg Remark
Z%!<E$+!"#! AA(;(A(@(A(Y(A(;(A
A[A[(;(A[(@(A[(Y(A[(;(A[
A8T2!%@ec2!%(1@(&+*!.=>(
,!*).+(&*(?)*+(3-.)!($=(3-,
Z"3$.)+&$" A[[(;(A
0AY94[[(;(AY9
8!'-+!%(+1&#!>(#-"#!.(
$)+
A"").<!"+ A(Y(5(;(5
A(r(7(;(7(
Z%!"+&+/ A(Y(7(;(A
A(r(5(;(A
F$<E.!<!"+-,/ A(r(A[(;(7
A(Y(A[(;(5
A:*$,E+&$" A(Y(A9(;(A
A**$#&-+&3!
F$<<)+-+&3! A9(Y(F(;(F(Y(A9
T&*+,&:)+&3!
T!(O$,'-"[*(_-1*
How$computers$read$code
O-#B&"!(#$%!(+$$(+!%&$)*(+$(1,&+!a
A**!<:./(.-"')-'! ;(B)<-"2,!-%-:.!(=$,<($=(.$12.!3!.(<-#B&"!(#$%!(22](*+&..(
+!%&$)*
P$$%(&"(!M+,!<!./(.$1(E$1!,((-"%(FcZQZFA_(*&+)-+&$"*
Critical$performance$+$low$power$&$memory$available
Need$to$have$smallest$files$and$least$instructions$to$run$as$
possible.$This$can$only$be$done$with$the$sort$of$
optimisation$done$at$assembly$level.
§
C
F$<E&.!, *$=+1-,!(0!'a(FYY4(&*(-"(!'($=(#$<E&.!,(*$=+1-,!(
Q,-"*.-+!* &"+$(!W)&3-.!"+(-**!<:./(.-"')-'!C
[A**!<:.!*[(+B&*(&"+$(<-#B&"!(#$%!(1B&#B(&*(,)"($"(+B!(%!3&#!C
Z"+!,E,!+!% .-"')-'!*(;(1B!,!(&"*+,)#+&$"*(-,!(&"+!,E,!+!%>(-"%(-#+&$"*(
E!,=$,<!%(:/(-"$+B!,(E&!#!($=(*$=+1-,!($"2+B!2=./(1B&.!(m&"+!,E,!+!%m(-EE(&*(
,)""&"'(0!'a(d64
A.<$*+(-.1-/*(6_eJ`c(+B-"(#$<E&.!%(.-"')-'!*C
8-+&3!(A"%,$&%(-EE*X(Java
g/:,&%X(#$<E&.!%(+$(-(.$12.!3!.(&"+!,<!%&-+!(:/+!(#$%!(+B-+(&*(+B!"(
&"+!,E,!+!%(-+(,)"+&<!
C
FB,$<!(1!:(:,$1*!,X(C++
V$1!,!%(:/(9.&"N(!"'&"!>(-(*E!!%2#,&+&#-.(A"%,$&%(.&:,-,/C
F$<E&.!%(%&,!#+./(%$1"(&"+$(<-#B&"!(#$%!C
Javascript
9,$1*!,(-EE(&"+!,E,!+*(d6(#$%!(-"%(E!,=$,<*(%!*&,!%(&"*+,)#+&$"*
6.$1!,(+B-"(&=(+),"!%(&"+$(<-#B&"!(#$%!
9hQ
d6(#-"(:!(*+$,!%(-*(+!M+($"(1!:(*!,3!,*(-"%()E%-+!%(3!,/(W)&#N./(1@$("!!%(=$,(
,!#$<E&.&"'
F-"(,)"($"(%&==(e6@E.-+=$,<*>(?)*+("!!%(E,$E!,(&"+!,E,!+!,(+-&.$,!%(+$(!-#B(
E.-+=$,<
Week$11:$Mobile$Hardware$Architecture
6)"%-/>(5U(O-/(G75s
5sXGI
Unlock document

This preview shows pages 1-2 of the document.
Unlock all 7 pages and 3 million more documents.

Already have an account? Log in
Data$representation
Binary !"#$%&"'()*!%(&"+!,"-../(0.$12.!3!.4
56!+(3$.+-'!
78$(3$.+-'!
Bits$and$capacity
9&+ 0:&"-,/(%&'&+4(;(*<-..!*+()"&+($=(&"=$>(*+$,!*(?)*+(-(*&"'.! 7@5
A(*!,&!*($=(:&+*(=$,<*(-(")<:!,@#B-,-#+!,@9$$.!-"C
9/+! ;(D(:&+* ',$)E!%(+$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(J&2\&(*&'"-.4(22](
8eQ(*)E!,(-##),-+!
A##!.!,$<!+!,* ;(B-,%1-,!(#$<E$"!"+*(+B-+(#-"(:!()*!%(+$(%!+!,<&"!(-(
<$:&.!(%!3&#![*(-##!.!,-+&$"(-"%($,&!"+-+&$"
Q&"/(<-**(*)*E!"%!%($"(-(*E,&"'(&"*&%!(+B!(%!3&#!
Q-N!*(-(*B$,+(<$<!"+(+$(#-+#B()E(1B!"(*)%%!"(<$3!<!"+
O$3!<!"+(,!#$,%!%(3&-(!.!#+,&#-.(*&'"-.(0!'a(#B-"'!(&"(#-E-#&+-"#!(
#-)*!%(:/(+B!(<-**(E,!**&"'(G(<!+-.(E.-+!*(#.$*!,(+$(!-#B($+B!,4
C
O!-*),!(=$,#!(!M!,+!%($"(-"(&"+!,"-.($:?(%),&"'(-##!.(+B-+(&*(-.*$(
!ME!,&!"#&"'( ',-3&+/
C
Boolean$logic 0.$12.!3!.4
Gates$and$operators
_$'&#('-+!* ;(#$<E$"!"+*(+B-+(+-N!(];(5(&"E)+*(#$"*&*+&"'($=(*&'"-.*($=(7@5(-"%(
&<E.!<!"+(-(9$$.!-"(=)"#+&$"
Q,)+B(+-:.! ;(,!E,!*!"+*(+B!(,!*).+ $=(-(.$'&#-.($E!,-+$,@!ME,!**&$"(=$,(-..(
E$**&:.!(#$<:&*($=(&"E)+ 3-.)!*
h*!=).(=$,(*E!#&=/&"'(.$'&#-.(*+-+!<!"+* 1B&.!(E,$',-<<&"'(0!'a(d6(2.$'&#-.(
!ME,!**&$"*()*!%(-*(#$"%&+&$"*X(var isEligible = (person.role
== "student") && (person.year >= 2)
&& !(person.hasTaken("ENG1002"));4
C
Logic$(mostly$used$for$
Boolean)
Bitwise$(only$numbers,$not$
Boolean)
Descript
n
Notatn
oo oA8T A9
pp pec A9
^ l 8eQ qA@A[
9$$.!-"
F$<:&"&"'(#$"%&+&$"*
8)<:!,*
6!+@#B!#N(:&+*
Boolean$algebraic$identities
Boolean$property Eg Remark
Z%!<E$+!"#! AA(;(A(@(A(Y(A(;(A
A[A[(;(A[(@(A[(Y(A[(;(A[
A8T2!%@ec2!%(1@(&+*!.=>(
,!*).+(&*(?)*+(3-.)!($=(3-,
Z"3$.)+&$" A[[(;(A
0AY94[[(;(AY9
8!'-+!%(+1&#!>(#-"#!.(
$)+
A"").<!"+ A(Y(5(;(5
A(r(7(;(7(
Z%!"+&+/ A(Y(7(;(A
A(r(5(;(A
F$<E.!<!"+-,/ A(r(A[(;(7
A(Y(A[(;(5
A:*$,E+&$" A(Y(A9(;(A
A**$#&-+&3!
F$<<)+-+&3! A9(Y(F(;(F(Y(A9
T&*+,&:)+&3!
T!(O$,'-"[*(_-1*
How$computers$read$code
O-#B&"!(#$%!(+$$(+!%&$)*(+$(1,&+!a
A**!<:./(.-"')-'! ;(B)<-"2,!-%-:.!(=$,<($=(.$12.!3!.(<-#B&"!(#$%!(22](*+&..(
+!%&$)*
P$$%(&"(!M+,!<!./(.$1(E$1!,((-"%(FcZQZFA_(*&+)-+&$"*
Critical$performance$+$low$power$&$memory$available
Need$to$have$smallest$files$and$least$instructions$to$run$as$
possible.$This$can$only$be$done$with$the$sort$of$
optimisation$done$at$assembly$level.
§
C
F$<E&.!, *$=+1-,!(0!'a(FYY4(&*(-"(!'($=(#$<E&.!,(*$=+1-,!(
Q,-"*.-+!* &"+$(!W)&3-.!"+(-**!<:./(.-"')-'!C
[A**!<:.!*[(+B&*(&"+$(<-#B&"!(#$%!(1B&#B(&*(,)"($"(+B!(%!3&#!C
Z"+!,E,!+!% .-"')-'!*(;(1B!,!(&"*+,)#+&$"*(-,!(&"+!,E,!+!%>(-"%(-#+&$"*(
E!,=$,<!%(:/(-"$+B!,(E&!#!($=(*$=+1-,!($"2+B!2=./(1B&.!(m&"+!,E,!+!%m(-EE(&*(
,)""&"'(0!'a(d64
A.<$*+(-.1-/*(6_eJ`c(+B-"(#$<E&.!%(.-"')-'!*C
8-+&3!(A"%,$&%(-EE*X(Java
g/:,&%X(#$<E&.!%(+$(-(.$12.!3!.(&"+!,<!%&-+!(:/+!(#$%!(+B-+(&*(+B!"(
&"+!,E,!+!%(-+(,)"+&<!
C
FB,$<!(1!:(:,$1*!,X(C++
V$1!,!%(:/(9.&"N(!"'&"!>(-(*E!!%2#,&+&#-.(A"%,$&%(.&:,-,/C
F$<E&.!%(%&,!#+./(%$1"(&"+$(<-#B&"!(#$%!C
Javascript
9,$1*!,(-EE(&"+!,E,!+*(d6(#$%!(-"%(E!,=$,<*(%!*&,!%(&"*+,)#+&$"*
6.$1!,(+B-"(&=(+),"!%(&"+$(<-#B&"!(#$%!
9hQ
d6(#-"(:!(*+$,!%(-*(+!M+($"(1!:(*!,3!,*(-"%()E%-+!%(3!,/(W)&#N./(1@$("!!%(=$,(
,!#$<E&.&"'
F-"(,)"($"(%&==(e6@E.-+=$,<*>(?)*+("!!%(E,$E!,(&"+!,E,!+!,(+-&.$,!%(+$(!-#B(
E.-+=$,<
Week$11:$Mobile$Hardware$Architecture
6)"%-/>(5U(O-/(G75s 5sXGI
Unlock document

This preview shows pages 1-2 of the document.
Unlock all 7 pages and 3 million more documents.

Already have an account? Log in

Document Summary

Bit (binary digit) = smallest unit of info, stores just a single 0/1. Can store any unsigned integer frm 0-255 (28 = 256) Size depends on architecture of processor (aka brains of computer responsible for executing instructions) kb, mb, gb, tb most commonly used (3, 6, 9, 12 respectively) Devised to disambiguate between powers-of-1000 and powers- of-1024. Processor calculates w/ binary arithmetic when executing arithmetic instruction. 1 + 1 = 0 and 1 is carried forward. If binary digits represent -ve number, use two"s complement representation, then add. Flip bits (0 --> 1, 1 --> 0) and add 1 (to final digit! Standard representation that computers use for -ve numbers, since this allows std arithmetic ops of binary addition, subtractn and multiplication for both +ve and -ve values w/o requiring any special case for -ve values. Multiply each digit of binary number by the corresponding power of.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents