Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxdonnajames55
COMP 2213X2 Assignment #2 Parts A and B
Due February 3 in class
PLEASE HAND IN PARTS A AND B SEPARATELY!!!!
For “written” questions, please type your answers, use your very best English, and carefully
consider the material from the chapters. I am usually only looking for a few sentences for each
question, not an essay that goes on for pages. So choose your words carefully and thoughtfully.
PART A
[1] Does a computer need data registers (like D0–D7 in an M68K)? Defend your answer!
[2] Textbook question 5.35. If your student number is even, do parts (a), (c), (e) and (g). Otherwise do
parts (b), (d), (f) and (h). Note that (b) should read “[[[4]]]”, (c) should read “[[[0]]]” and
(h) should start with “[0]”.
[3] Explain why the following assembly language and RTL constructs are incorrect.
a. MOVE D3,#4
b. MOVE [D3],D2
c. MOVE (D3),D2
d. [D3] A0 + 3
e. [D3] #3
f. 3 [D3]
[4] Create a simple M68K program called ADDER. Your program should add together the numbers:
6, 4, 12, 16, 17, and 50. The program should leave the answer in register D0 when it terminates.
The program is to be assembled with the M68K cross-assembler and then run on the M68K simu-
lator. You can either install the cross-assembler and simulator given with the textbook (windows)
or you can use the Linux one available on the course web site. Doing a trace (to hand in) with the
windows version is much more painful than the Linux version, so make your choice carefully (and
you have to figure out the windows one without my help).
To use the Linux assembler (“68kasm”) and simulator (“bsvc”), follow the instructions in my
mail message of January 26, if you have not already done so.
IMPORTANT NOTE: if you are using the Linux simulator, the instructions for creating a program
are slightly different than those in the book. You should have the following at the start of each
program:
ORG $0
DC.L $8000 This is the stack pointer value after a "reset"
DC.L START This is the first instruction to execute
You can then follow that with something like
1
ORG $1000
START MOVE ...
You should still have a STOP instruction and END assembler directive, as described in the book,
but also use a BREAK instruction right before your STOP instruction.
Create your program (ADDER.s) in your (for example) comp2213/bsvc-master directory using
your favourite text editor and assemble it with the command 68kasm -l ADDER.s. If you had no
assembly errors you should now have a file called ADDER.h68 (which is your executable program)
and ADDER.lis (your program listing). Then start up the simulator by typing bsvc. Select
File/Open Setup, drill down to samples/m68000, select serial.setup and click Open; a
new window should pop up on your screen. Now choose File/Load Program, come back up to
your bsvc-master directory, and open your ADDER.h68 program. Now click the GUI’s Reset
button and then the Run button. (Alternatively, instead of Run click Single Step and watch the
result of each instruction..
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxdonnajames55
COMP 2213X2 Assignment #2 Parts A and B
Due February 3 in class
PLEASE HAND IN PARTS A AND B SEPARATELY!!!!
For “written” questions, please type your answers, use your very best English, and carefully
consider the material from the chapters. I am usually only looking for a few sentences for each
question, not an essay that goes on for pages. So choose your words carefully and thoughtfully.
PART A
[1] Does a computer need data registers (like D0–D7 in an M68K)? Defend your answer!
[2] Textbook question 5.35. If your student number is even, do parts (a), (c), (e) and (g). Otherwise do
parts (b), (d), (f) and (h). Note that (b) should read “[[[4]]]”, (c) should read “[[[0]]]” and
(h) should start with “[0]”.
[3] Explain why the following assembly language and RTL constructs are incorrect.
a. MOVE D3,#4
b. MOVE [D3],D2
c. MOVE (D3),D2
d. [D3] A0 + 3
e. [D3] #3
f. 3 [D3]
[4] Create a simple M68K program called ADDER. Your program should add together the numbers:
6, 4, 12, 16, 17, and 50. The program should leave the answer in register D0 when it terminates.
The program is to be assembled with the M68K cross-assembler and then run on the M68K simu-
lator. You can either install the cross-assembler and simulator given with the textbook (windows)
or you can use the Linux one available on the course web site. Doing a trace (to hand in) with the
windows version is much more painful than the Linux version, so make your choice carefully (and
you have to figure out the windows one without my help).
To use the Linux assembler (“68kasm”) and simulator (“bsvc”), follow the instructions in my
mail message of January 26, if you have not already done so.
IMPORTANT NOTE: if you are using the Linux simulator, the instructions for creating a program
are slightly different than those in the book. You should have the following at the start of each
program:
ORG $0
DC.L $8000 This is the stack pointer value after a "reset"
DC.L START This is the first instruction to execute
You can then follow that with something like
1
ORG $1000
START MOVE ...
You should still have a STOP instruction and END assembler directive, as described in the book,
but also use a BREAK instruction right before your STOP instruction.
Create your program (ADDER.s) in your (for example) comp2213/bsvc-master directory using
your favourite text editor and assemble it with the command 68kasm -l ADDER.s. If you had no
assembly errors you should now have a file called ADDER.h68 (which is your executable program)
and ADDER.lis (your program listing). Then start up the simulator by typing bsvc. Select
File/Open Setup, drill down to samples/m68000, select serial.setup and click Open; a
new window should pop up on your screen. Now choose File/Load Program, come back up to
your bsvc-master directory, and open your ADDER.h68 program. Now click the GUI’s Reset
button and then the Run button. (Alternatively, instead of Run click Single Step and watch the
result of each instruction..
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601
HW2.pdfCSEEEE 230 Computer Organization and Assembly La.docxadampcarr67227
HW2.pdf
CSE/EEE 230 Computer Organization and Assembly Language Homework 2 :: 50 pts
1 Instructions
You may work in pairs with a partner on this assignment if you wish or you may work alone. If you work with a partner,
only submit one zip archive with both of your names in the PDF document and source code file; you will each earn the
same number of points. Your zip archive must be uploaded to Blackboard by the assignment deadline. Section 3 describes
what to submit and by when.
2 Exercises
1. A MIPS word is stored at memory address 0x1000_100A. Is this word naturally aligned? If so, explain why, and if
not, explain why not.
2. Consider this C code. Assume the values of variables e, f, g, and h have been loaded from memory into registers $t0,
$t1, $t2, and $t3, respectively. Assume we are associating variable i with register $s0. Write the MIPS instructions—
not a complete program—that implements the assignment statement.
int e, f, g, h, i;
i = e * (f + g - h);
3. (a) Explain why we cannot write addi $t0, $zero, 65536 to load the immediate 65,536 into $t0. (b) Write a single
lui instruction that loads the immediate 65,536 into $t0.
4. Many processor ISA's have instructions which rotate the bits of a word left or right. During a rotate left operation,
bits that would normally be lost during a shift left are instead rotated into the least significant bits. For example,
suppose $t0 contains 0x9122_3344 and we rotate $t0 left n bit positions,
$t0 before rotate left: 1001 0001 0010 0010 0011 0011 0100 0100
$t0 after rotate left 1 bit position: 0010 0010 0100 0100 0110 0110 1000 1001
$t0 before rotate left: 1001 0001 0010 0010 0011 0011 0100 0100
$t0 after rotate left 7 bit positions: 1001 0001 0001 1001 1010 0010 0100 1000
A rotate right works similarly, except bits that would normally be lost during a shift right are rotated into the most
significant bits. MIPS does not have rotate left or rotate right instructions. However, they can be implemented as
pseudoinstructions. For this exercise, write the MIPS physical instruction sequence which would implement a pseudo -
instruction rotl1 $dst, $src (rotate left by 1) that rotates the bits in $src one position to the left and writes the
result to $dst. You are only allowed to use three registers in your code: $src, $dst, and $at; $src shall not be modified.
Note, $src and $dst are not real MIPS registers, but rather, are placeholders for the registers that are actually used
when writing the rotl1 instruction. For example, if the programmer writes rotl $t0, $t1 then $src is $t1 and $dst
is $t0. I'll give you a hint, these are your instructions, which I wrote in this order: srl, sll, or.
5. Write MIPS assembly language code that would define and initialize these variables in the .data section.
int e = 0 , f = 10, g = -1;
char ch = ' ';
char char_array[128] = { '\0' };
int int_array1[100] = { 0 };
int int_array2[3] = { 1, 2, 3 };
6. Write assembly language instructions—not a complete pro.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
1. Allied American University ISY 101
Module 1
Get help for Allied American UniversityISY101 Module 1. We provide assignment, homework,
discussions and case studies help for all subject AlliedAmericanUniversity for Session 2015-2016.
ISY 101 MODULE 1 DISCUSSION
What businessvalue doyoubelieveCloudtechnologieswouldbringtoLarge Businesses?Please cite
examplesandorfeel free touse outside researchtosupportyourresponse.
Rememberinordertoreceive full creditforyourDQ(discussionquestion) participationyourinitial
substantive response shouldbe atleast250 words.You will alsoneedtorespondtoat leasttwoof your
ClassmatesDQ'sas well.The responsestoyourClassmatesshouldbe atleast150 words.
http://www.justquestionanswer.com/viewanswer_detail/ISY-101-MODULE-1-DISCUSSION-What-
business-value-do-you-b-25357
ISY 101 MODULE 1 CHECK YOUR UNDERSTANDING
1. The __________ displaysaseriesof toolsforaccomplishingvarioustasks.
a. scroll bar
b. toolbar
c. menubar
2. d. title bar
Hint:Page O-11
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9C:Distinguishamongthe title bar,menubar,toolbar,andscroll bar
1
2. Whichof the followingshrinksthe window toabuttonat the bottomof the screen?
a. Minimize button
b. Maximize button
c. Close button
d. None of the choicesapply
Hint:Page O-11
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9D:Describe the minimizeandmaximize buttons
1
3. Whichof the followingmouse actionsallowsyoutomanipulate on-screenobjects?
a. Click
b. Double-click
c. Right-click
d. All of the choicesapply
Hint:Page O-8
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9E:Name the characteristicsof personal computers,servers,mainframes,andsupercomputers
1
4. Data transmissionspeedsare typicallyexpressedas__________ and storage istypically
expressedas__________.
a. bits/bytes
3. b. bytes/hertz
c. hertz/bits
d. mites/bytes
Hint:Page 26
SLO2:Determine howcomputersprocessandstore data
LO2D:Define commonprefixes,suchaskilo,mega,andgiga
1
5. A computer'soperatingsystemisresponsible forwhichof the following?
a. Runningapplicationsoftware
b. Manipulatingfilesonstorage devices
c. Transferringdatato and fromprinters
d. All of the choicesapply
Hint:Page O-6
SLO2:Determine howcomputersprocessandstore data
LO2A:Determine the general conceptof how 0sand 1s are handledbyintegratedcircuits
1
6. A(n) __________ isa microprocessor-basedcomputingdevice designedtomeetthe computing
needsof an individual.
a. personal computer
b. mainframe
c. ALU
d. server
Hint:Page 17
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9F:Specifythe purpose of microcontrollers
1
4. 7. The "brain"of your computeriscalledthe:
a. microchip.
b. microprocessor.
c. memorychip.
d. hard drive.
Hint:Page O-4
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9A:Listthe basic componentsof yourcomputersystem
1
8. Whichof the followingkeyboardkeysdisplayspreviousscreeninformation?
a. Page downkey
b. End key
c. Page up key
d. Delete key
Hint:Page O-9
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9D:Describe the minimizeandmaximize buttons
1
9. Digital electronicsuse electronic__________ to representdata.
a. circuits
b. switches
c. transistors
d. components
Hint:Page 4
SLO2:Determine howcomputersprocessandstore data
5. LO2B:Distinguishbetweendataandinformation,aswell asanaloganddigital
1
10. The type of data that isrepresentedusinganinfinite scale of valuesis:
a. information.
b. analog.
c. digital.
d. ASCII.
Hint:Page 22
SLO2:Determine howcomputersprocessandstore data
LO2A:Determine the general conceptof how 0sand 1s are handledbyintegratedcircuits
1
11. The digital revolutionbecame asignificantfactorinthe 1980s butendedinthe 1990s withthe
dot com bubble burst.
a. True
b. False
Hint:Page 4
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9A:Listthe basic componentsof yourcomputersystem
1
12. 1,024 bytesisa __________; 1,048,576 bytesisa __________; and 1,073,741,824 bytesisa
__________.
a. kilobyte/megabyte/gigabyte
b. megabyte/gigabyte/kilobyte
c. gigabyte/megabyte/terabyte
d. terabyte/gigabyte/megabyte
Hint:Page 26
6. SLO2:Determine howcomputersprocessandstore data
LO2A:Determine the general conceptof how 0sand 1s are handledbyintegratedcircuits
1
13. __________ is the processof convertingtext,numbers,sound,photos, andvideointodatathat
can be processedbydigital devices.
a. Digitization
b. Digital conversion
c. Scanning
d. Rasterization
Hint:Page 7
SLO2:Determine howcomputersprocessandstore data
LO2C:Differentiate betweenbitsandbytes
1
14. Anothername forcomputervirusis:
a. spyware.
b. shareware.
c. software.
d. malware.
Hint:Page O-23
SLO2:Determine howcomputersprocessandstore data
LO2B:Distinguishbetweendataandinformation,aswell asanaloganddigital
1
15. A special-purposemicroprocessorthatisbuiltintothe machine itcontrolsisa(n):
a. supercomputer.
b. mainframe.
c. microcontroller.
7. d. workstation.
Hint:Page 20
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9F:Specify the purpose of microcontrollers
1
16. The purpose of a serveristo serve computersona network.
a. True
b. False
Hint:Page 18
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9F:Specifythe purpose of microcontrollers
1
17. Symbolsthatrepresentfacts,objects,andideasare:
a. data.
b. programming.
c. processing.
d. globalization.
Hint:Page 15
SLO2:Determine howcomputersprocessandstore data
LO2C:Differentiate betweenbitsandbytes
1
18. Whenthe computeris busy,the mouse pointerarrow shape turnsintoa(n):
a. hourglass.
b. square.
c. circle.
8. d. hourglassanda circle.
Hint:Page O-8
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9E:Name the characteristicsof personal computers,servers,mainframes,andsupercomputers
1
19. An e-mail scamthatarrivesinyour e-mailbox lookinglike anofficial correspondence froma
majorcompany iscalled:
a. phishing.
b. fishing.
c. flushing.
d. None of the choicesapply.
Hint:Page O-28
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9A:Listthe basic componentsof yourcomputersystem
1
20. Functionkeysonthe keyboardactivate all of the following,except:
a. Save.
b. Help.
c. Print.
d. Delete.
Hint:Page O-9
SLO9:Identifythe maincomponentsof apersonal computersystem
LO9B:Identifyimportantfunctionkeysandkeyboardkeys
0