SlideShare ist ein Scribd-Unternehmen logo
1 von 3
ECET 330 Final Exam New 2016
buy here
http://onlinehelpstudy.com/exam_te
xt.php?cat=16107
www.onlinehelpstudy.com
Immediate access to
solutions for ENTIRE
COURSES,
FINAL EXAMS and
HOMEWORKS
“RATED A+" - Without
Registration!
ECET 330 Final Exam New 2016
1. (TCO 1) Dynamic memory requires _____ that is not needed for other types of memory
2. (TCO 1) Main memory in virtually all computers contains how many data bits at each address?
3. (TCO 1) In a CPU with a 16-bit program counter, what is the maximum, directly accessible code space?
4. (TCO 2) Which of the following is correct for the “von Neumann” architecture?
5. (TCO 2) Operations performed by the Control Unit include
6. (TCO 2) What direction does data flow on a WRITE bus cycle?
7. (TCO 3) For the CodeWarrior assembler
8. (TCO 3) The “LDAB #$AA” is _____-byte instruction
9. (TCO 3) Which statement about CodeWarrior assembly language is true?
10. (TCO 3) Which of the following is wrong?
1. (TCO 4) What is the value in Accumulator B after the execution of the code below?
ORG $2000
XYZ DC.B 0, 1, 2, 4
ORG $8000
LDY #XYZ
LDAA #04
LDAB #02
BACK ADDB 0, Y
INY
DECA
BNE BACK
HERE BRA HERE
2. (TCO 5) The instruction “subb $100” will
3. (TCO 5) What will be the value in Accumulator A after the following program is executed?
ORG $2000
DATA1 DC.B $F8
ORG $8000
LDAA DATA1
LDAB #4
BACK LSLA
DECB
BNE BACK
HERE BRA HERE
4. (TCO 5) The MC9S12 instruction set has
5. (TCO 5) In the following program, what is the largest number that Register B can take?
L1 CLRA
NOP
NOP
DECB
BNE L1
6. (TCO 5) For a 16-bit signed number, we can use a maximum of _____ bits for the magnitude of the signed number
7. (TCO 8) Assume that PORTB has a value of 0x37. Which of the following gives us Unpacked BCD for 7?
8. (TCO 8) Fill in the blank to get 0x36 on PORTB.
unsigned char BCD_Byte = 0x67;
unsigned char x;
x= BCD_Byte & 0xF0;
_____;
PORTB = x | 0x30
9. (TCO 8) The following program creates square wave pulses on PB0. What is the duty cycle?
ORG $8000
LDS #$4000
LDAA #$FF
STAA DDRB
BACK BSET PORTB,%00000001
JSR DELAY
JSR DELAY
JSR DELAY
BCLR PORTB,%00000001
JSR DELAY
BRA BACK
10. (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0xAA ^ 0x55
1. (TCO 4) Write a program sequence that places the value in Address $2000 into Accumulator A and places the value in
Address $2001 into Accumulator B. Then, add these values together and store the result in Location $2002.
2. (TCO 5) Where is the return address of the subroutine stored when a subroutine is called? How is this return address
retrieved at the end of the subroutine?
3. (TCO 7) Write a C statement to set Bit 3 of variablefoowithout changing other bits.
4. (TCO 5) Write a HCS12 assembly-language program that counts all even numbers from a 10-variable, byte-sized array
and moves the odd numbers to a new array
5. (TCO 6) Write a C program for a HCS12 microcontroller that writes the value, 0x78, to Memory Location VAR1 and
then calls a delay function. The delay function should generate a delay of 0.25 milliseconds. Then, send the pattern 0x99 to
Memory Location VAR2 and call the delay function one more time. Repeat this operation eight times using a for loop.
Assume that the bus clock frequency is 24MHz. Write the delay using inline assembly language

Weitere ähnliche Inhalte

Was ist angesagt?

New microsoft office word document (3)
New microsoft office word document (3)New microsoft office word document (3)
New microsoft office word document (3)
Sagar Kuchekar
 

Was ist angesagt? (19)

Report Qsn 8 CA asn 3
Report Qsn 8 CA asn 3Report Qsn 8 CA asn 3
Report Qsn 8 CA asn 3
 
Verilog full adder in dataflow & gate level modelling style.
Verilog full adder in dataflow  & gate level modelling style.Verilog full adder in dataflow  & gate level modelling style.
Verilog full adder in dataflow & gate level modelling style.
 
MFC Colors app
MFC Colors appMFC Colors app
MFC Colors app
 
Lab 4 Three-Bit Binary Adder
Lab 4 Three-Bit Binary AdderLab 4 Three-Bit Binary Adder
Lab 4 Three-Bit Binary Adder
 
C++ Question
C++ QuestionC++ Question
C++ Question
 
Al2ed chapter17
Al2ed chapter17Al2ed chapter17
Al2ed chapter17
 
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,
 
A109210503 digitallogicdesign1
A109210503 digitallogicdesign1A109210503 digitallogicdesign1
A109210503 digitallogicdesign1
 
New microsoft office word document (3)
New microsoft office word document (3)New microsoft office word document (3)
New microsoft office word document (3)
 
Games no Windows (FATEC 2015)
Games no Windows (FATEC 2015)Games no Windows (FATEC 2015)
Games no Windows (FATEC 2015)
 
Assembly Language Lecture 4
Assembly Language Lecture 4Assembly Language Lecture 4
Assembly Language Lecture 4
 
Cs6503 theory of computation november december 2016
Cs6503 theory of computation november december 2016Cs6503 theory of computation november december 2016
Cs6503 theory of computation november december 2016
 
なぜ検索しなかったのか
なぜ検索しなかったのかなぜ検索しなかったのか
なぜ検索しなかったのか
 
[Bop] Block Oriented Programming Automating Data-only Attacks
[Bop] Block Oriented Programming Automating Data-only Attacks[Bop] Block Oriented Programming Automating Data-only Attacks
[Bop] Block Oriented Programming Automating Data-only Attacks
 
Instruction Set 8085
Instruction Set 8085Instruction Set 8085
Instruction Set 8085
 
Cs6503 theory of computation april may 2017
Cs6503 theory of computation april may 2017Cs6503 theory of computation april may 2017
Cs6503 theory of computation april may 2017
 
Model toc
Model tocModel toc
Model toc
 
Led with raspberry pi
Led with raspberry piLed with raspberry pi
Led with raspberry pi
 
Lab 3 Multi-Function Gate
Lab 3   Multi-Function GateLab 3   Multi-Function Gate
Lab 3 Multi-Function Gate
 

Andere mochten auch

Andere mochten auch (13)

Guia extraescolares 17-18
Guia extraescolares 17-18Guia extraescolares 17-18
Guia extraescolares 17-18
 
Laboratorio di Internazionalizzazione d’Impresa
Laboratorio di Internazionalizzazione d’ImpresaLaboratorio di Internazionalizzazione d’Impresa
Laboratorio di Internazionalizzazione d’Impresa
 
Tech talent hunting
Tech talent huntingTech talent hunting
Tech talent hunting
 
La evolución
La evoluciónLa evolución
La evolución
 
Ecosistemas eii
Ecosistemas eiiEcosistemas eii
Ecosistemas eii
 
3Com 10/100BASE-TX
3Com 10/100BASE-TX3Com 10/100BASE-TX
3Com 10/100BASE-TX
 
Mau ghe nail 2017 dep gia re bao hanh 5 nam
Mau ghe nail 2017 dep gia re bao hanh 5 namMau ghe nail 2017 dep gia re bao hanh 5 nam
Mau ghe nail 2017 dep gia re bao hanh 5 nam
 
Boletim 2017
Boletim 2017Boletim 2017
Boletim 2017
 
Presentación1
Presentación1Presentación1
Presentación1
 
Business is a game & the best team wins
Business is a game & the best team winsBusiness is a game & the best team wins
Business is a game & the best team wins
 
Em recruiting
Em recruitingEm recruiting
Em recruiting
 
Nuevo¡ contrato por obra o laboral - Presentación profesional 2017
Nuevo¡ contrato por obra o laboral - Presentación profesional 2017Nuevo¡ contrato por obra o laboral - Presentación profesional 2017
Nuevo¡ contrato por obra o laboral - Presentación profesional 2017
 
презентація досвіду роботи
презентація досвіду роботипрезентація досвіду роботи
презентація досвіду роботи
 

Ähnlich wie Ecet 330 final exam new 2016

Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2
Ikhwan_Fakrudin
 
Chapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structuChapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structu
EstelaJeffery653
 
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docxIFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
scuttsginette
 
Basic programming of 8085
Basic programming of 8085 Basic programming of 8085
Basic programming of 8085
vijaydeepakg
 
Microprocessorandmicroconrollermcq3 121116120640-phpapp02
Microprocessorandmicroconrollermcq3 121116120640-phpapp02Microprocessorandmicroconrollermcq3 121116120640-phpapp02
Microprocessorandmicroconrollermcq3 121116120640-phpapp02
Yazeed Khalid
 

Ähnlich wie Ecet 330 final exam new 2016 (20)

Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2
 
Drdo 2008-cse-paper
Drdo 2008-cse-paperDrdo 2008-cse-paper
Drdo 2008-cse-paper
 
Assembler Programming
Assembler ProgrammingAssembler Programming
Assembler Programming
 
8 bit Microprocessor with Single Vectored Interrupt
8 bit Microprocessor with Single Vectored Interrupt8 bit Microprocessor with Single Vectored Interrupt
8 bit Microprocessor with Single Vectored Interrupt
 
4bit pc report[cse 08-section-b2_group-02]
4bit pc report[cse 08-section-b2_group-02]4bit pc report[cse 08-section-b2_group-02]
4bit pc report[cse 08-section-b2_group-02]
 
4bit PC report
4bit PC report4bit PC report
4bit PC report
 
Alp 05
Alp 05Alp 05
Alp 05
 
Chapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structuChapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structu
 
Assembly Language Paper.docx
Assembly Language Paper.docxAssembly Language Paper.docx
Assembly Language Paper.docx
 
Bis 311 final examination answers
Bis 311 final examination answersBis 311 final examination answers
Bis 311 final examination answers
 
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docxIFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
 
Gsp 215 Effective Communication / snaptutorial.com
Gsp 215  Effective Communication / snaptutorial.comGsp 215  Effective Communication / snaptutorial.com
Gsp 215 Effective Communication / snaptutorial.com
 
Code optimization
Code optimizationCode optimization
Code optimization
 
Code optimization
Code optimizationCode optimization
Code optimization
 
Basic programming of 8085
Basic programming of 8085 Basic programming of 8085
Basic programming of 8085
 
Microprocessorandmicroconrollermcq3 121116120640-phpapp02
Microprocessorandmicroconrollermcq3 121116120640-phpapp02Microprocessorandmicroconrollermcq3 121116120640-phpapp02
Microprocessorandmicroconrollermcq3 121116120640-phpapp02
 
Programming with 8085.pptx
Programming with 8085.pptxProgramming with 8085.pptx
Programming with 8085.pptx
 
Devry cis 115 final exam 1
Devry cis 115 final exam 1Devry cis 115 final exam 1
Devry cis 115 final exam 1
 
Devry cis 115 final exam 1
Devry cis 115 final exam 1Devry cis 115 final exam 1
Devry cis 115 final exam 1
 
CIS 115 Education Specialist / snaptutorial.com
CIS 115  Education Specialist / snaptutorial.comCIS 115  Education Specialist / snaptutorial.com
CIS 115 Education Specialist / snaptutorial.com
 

Kürzlich hochgeladen

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 

Ecet 330 final exam new 2016

  • 1. ECET 330 Final Exam New 2016 buy here http://onlinehelpstudy.com/exam_te xt.php?cat=16107 www.onlinehelpstudy.com Immediate access to solutions for ENTIRE COURSES, FINAL EXAMS and HOMEWORKS “RATED A+" - Without Registration!
  • 2. ECET 330 Final Exam New 2016 1. (TCO 1) Dynamic memory requires _____ that is not needed for other types of memory 2. (TCO 1) Main memory in virtually all computers contains how many data bits at each address? 3. (TCO 1) In a CPU with a 16-bit program counter, what is the maximum, directly accessible code space? 4. (TCO 2) Which of the following is correct for the “von Neumann” architecture? 5. (TCO 2) Operations performed by the Control Unit include 6. (TCO 2) What direction does data flow on a WRITE bus cycle? 7. (TCO 3) For the CodeWarrior assembler 8. (TCO 3) The “LDAB #$AA” is _____-byte instruction 9. (TCO 3) Which statement about CodeWarrior assembly language is true? 10. (TCO 3) Which of the following is wrong? 1. (TCO 4) What is the value in Accumulator B after the execution of the code below? ORG $2000 XYZ DC.B 0, 1, 2, 4 ORG $8000 LDY #XYZ LDAA #04 LDAB #02 BACK ADDB 0, Y INY DECA BNE BACK HERE BRA HERE 2. (TCO 5) The instruction “subb $100” will 3. (TCO 5) What will be the value in Accumulator A after the following program is executed? ORG $2000 DATA1 DC.B $F8 ORG $8000 LDAA DATA1 LDAB #4 BACK LSLA DECB BNE BACK HERE BRA HERE 4. (TCO 5) The MC9S12 instruction set has 5. (TCO 5) In the following program, what is the largest number that Register B can take? L1 CLRA NOP NOP DECB BNE L1 6. (TCO 5) For a 16-bit signed number, we can use a maximum of _____ bits for the magnitude of the signed number 7. (TCO 8) Assume that PORTB has a value of 0x37. Which of the following gives us Unpacked BCD for 7?
  • 3. 8. (TCO 8) Fill in the blank to get 0x36 on PORTB. unsigned char BCD_Byte = 0x67; unsigned char x; x= BCD_Byte & 0xF0; _____; PORTB = x | 0x30 9. (TCO 8) The following program creates square wave pulses on PB0. What is the duty cycle? ORG $8000 LDS #$4000 LDAA #$FF STAA DDRB BACK BSET PORTB,%00000001 JSR DELAY JSR DELAY JSR DELAY BCLR PORTB,%00000001 JSR DELAY BRA BACK 10. (TCO 8) Find the value for PORTB after the execution of the following code: PORTB = 0xAA ^ 0x55 1. (TCO 4) Write a program sequence that places the value in Address $2000 into Accumulator A and places the value in Address $2001 into Accumulator B. Then, add these values together and store the result in Location $2002. 2. (TCO 5) Where is the return address of the subroutine stored when a subroutine is called? How is this return address retrieved at the end of the subroutine? 3. (TCO 7) Write a C statement to set Bit 3 of variablefoowithout changing other bits. 4. (TCO 5) Write a HCS12 assembly-language program that counts all even numbers from a 10-variable, byte-sized array and moves the odd numbers to a new array 5. (TCO 6) Write a C program for a HCS12 microcontroller that writes the value, 0x78, to Memory Location VAR1 and then calls a delay function. The delay function should generate a delay of 0.25 milliseconds. Then, send the pattern 0x99 to Memory Location VAR2 and call the delay function one more time. Repeat this operation eight times using a for loop. Assume that the bus clock frequency is 24MHz. Write the delay using inline assembly language