Et2640 Essay

477 words - 2 pages

Chapter 2
1. 16
2. 8
3. 8
6. A = 15H + 13H = 28H (HEX) A = 0001_0101B + 0001_0011B = 0010_1000B (BINARY)
7. A and D
11. Low; high
12. Assembly Language uses less memory space then C and files are generally shorter.
13. Compiler
14. true
15. lst file
23. (a) MOV A, #55H - 2 bytes (b) MOV R3, #3 2 bytes (c) INC R2- 1 byte
(d) ADD A, #0 -2 bytes (e) MOV A, R1 -1 byte (f) MOV R3, A -1 byte
(g) ADD A, R2 -1 byte
37. (a) MOV A, #54H , ADD A, #0C4h CY=1
(b) MOV A, #00, ADD A, #0FFh CY=0
(c) MOV A, #250, ADD A, #05 CY=0

38. Add 25H and 70H and find the contents of the ...view middle of the document...

of 00
Chapter 3
4. Short jump; 2 byte
5. long jump; 3 bytes
6. The LJMP instruction is 3-bytes in which the first byte is the opcode, and the second and third bytes represent the 16-bit address of the target location from 0000 to FFFFH. The SJMP is a 2-byte instruction where the first byte is the opcode and the second byte is the address location FFH
7. true
8. false
9. (c)LJMP

10. A short jump is a 2-byte instruction. Why?
The first byte is the opcode (e.g MOV, ADD, etc.) and the second byte is the relative address of the target location. 0-FFH MAX
11. true
14. The loop is executed 200x100 = 20,000 times
17. 3
18. 2
19. 2
20. 3
23. The reason is that the stack keeps track of where the CPU should return after completing the subroutine and must be balanced if PUSH and POP are used.
33. Find the time delay for the following delay subroutine, if the system has an 8051 with frequency of 11.0592 MHz.
DELAY: MOV R3, #200
Chapter 4
8. input
11. MOV A, #0FFH ; A = FF hex
MOV P1, A ; make P1 an input port by writing all 1’s to it
BACK: MOV P1,A ; get data from P0
MOV P0,A ; send it to P0
MOV P2,A ; send it to P2
MOV P3, A ; send it to P3
SJMP BACK ; keep doing it
14. 0, because the chip has been reset.

Other assignments on Et2640

Hospitals Paper

6014 words - 25 pages I hope to provide in this paper a comprehensive understanding for what the term “hospital” has become. Hospitals are an extremely complex system that man has created and shaped and reshaped throughout history. My goal in writing and researching this paper will be to provide those who read it a clear understanding on how the hospital system got to where it is today, and to shed some light on the many organizations that affiliate with and

Course Syllabus Essay

2610 words - 11 pages [pic] COURSE SYLLABUS Semester: Fall, Year: 2012  College Mission Statement Richard J. Daley College provides high-quality education which leads to academic success, career development, and personal enrichment that fulfill diverse community needs. Mathematics Department Mission Statement Our mission is to deliver excellent service and to provide learning opportunities by offering a wide range of mathematics courses, which will help our


1477 words - 6 pages Boeing Management Planning Heather Oetzel MGT 330 October 22, 2012 Joe Cheng Abstract Boeing is known as “the world’s leading aerospace company and the largest manufacturer of commercial jetliner and military aircraft combined ("The Boeing Company: About Us", 2012). Every company uses different types of management techniques including how the planning function of management is used. Planning allows organizations to develop how the

Assisted Suicide

1015 words - 5 pages Should physician-assisted suicide be legal? While I believe if one chooses to end his or own life through physician assistance for reasons that they chose, the choice should be up to the individual. Physician-assisted suicide should be at one's discretion. “Assisted Suicide, also called Voluntary Euthanasia, is currently a contentious issue in many countries. Because Euthanasia is legal in a few modern democracies: the Netherlands, Belgium

Tanglewood Case 1

797 words - 4 pages Tanglewood’s staffing strategy requires the organization to make key decisions about the acquisition, deployment, and retention of the organization’s workforce. In order to accomplish this, Tanglewood’s must make thirteen decisions regarding its staffing levels and its staffing quality. One of the first decisions that Tanglewood needs to choose is to acquire or develop talent. Tanglewood should try to develop their current talent because one


1391 words - 6 pages Есе по въпроса: Кои от всички „действащи” лица могат да се разглеждат като морално отговорни и в какво именно? по казуса Форд „Пинто” Корпоративните злодеяния са нанесли повече вреди на обществото от всички улични престъпления взети заедно. Според данни на ФБР сумата от уличните престъпления възлиза на $3.8 млрд. годишно, а загубите от корпоративните измами между $100 млрд. и $400 млрд. годишно

The Penis

1052 words - 5 pages The short story ”The Penis” is written by Hanif Kureishi. The short story is about a penis, which has been separated from its owner Doug, who we hear from later on. At first though we hear about a guy called Alfie who was “a cutter – a hairdresser – and had to get to work”. He is having breakfast with his wife, when she asks him what he did last night, and if he had a good time last night? Alfie can not remember what he did last night, he then

Managed Care Paper

543 words - 3 pages Managed Care and Case Management Care Marvin Lloyd BSHS/402-Case Management 27 August 2012 Virgil Miller Managed Care are techniques employed to help reduce the cost for providing health benefits and a system for improving organizations quality of care


439 words - 2 pages The life expectancy is lower; so people are not kept alive with drugs for decades in a virtual sleep state. There is less state education; so kids don't have it drilled into them that their only goal in life is to make money, at the cost of 'everything' else. The health care is less; so diseases, usually brought by Westerners, kill many more than they do in countries where drug companies can make a fortune from selling medicines that aren't

Chapter 6 International Business

7113 words - 29 pages CGGGG The Political Economy of International Trade Chapter Outline OPENING CASE: Why Are Global Food Prices Soaring? INTRODUCTION INSTRUMENTS OF TRADE POLICY Tariffs Subsides Country Focus: Subsidized Wheat Production in Japan Import Quotas and Voluntary Export Restraints Local Content Requirements Administrative Polices Antidumping Policies Management Focus: U.S. Magnesium

Scope And Goals

279 words - 2 pages Introduction: Kudler Fine Foods is a specialty food store based in San Diego, California with its three locations in La Jolla, Del Mar, and Encinitas. Kudler Fine food prides itself on offering fresh and organic products that are carefully selected from local farmers and around the world. The organization has recently taken the initiative to start a Frequent Shopper Program to market and increase sales. This program will offer the customers a

Similar Documents

Et2640 U4 A1 Essay

547 words - 3 pages 1.Find the CY and AC flags for each of the following: (a)MOV A, #3FHCY=0 No carry out from D7 ADD A, #45HAC=1 carry from D3 to D4 00111111 +01000101 10000100 (b)MOV A, #99HCY=0 No carry out from D7 ADD A, #58HAC=1 carry from D3 to D4 10011001 +01011000 11110001 (c)MOV A, #0FFHCY=1 SETB CAC=0 ADDC A, #00 SETB C-> CY=1 11111111 +CY 1 100000000 +00000000 100000000 (d)MOV A, #OFFHCY=1 ADD A, #1AC=1 11111111 + 1 100000000

Mgt216 Essay

714 words - 3 pages The first ethical issue presented in the ethics game simulation was whether to warn consumers about the contaminated product and what information to provide consumers about the contaminant. The second ethical issue was whether to sell a product that does not meet U.S. safety requirements in a foreign market that has lower safety restrictions. G-BioSport was not required to meet prior approval from the Federal Drug Administration before they

Economy Effect Of Marijuana Essay

277 words - 2 pages Modern American History by Alan Renga 2nd Mid Term! You will be given 3 Short Essay questions and 20 Multiple Choice questions deriving from this list! 80 points total! The 1920s Warren Harding then Calvin Coolidge Tea Pot Dome 1st Red Scare Immigration Restriction, Sacco and Vanzetti Langston Hughes, Marcus Garvey, KKK Prosperity, advertising Prohibition, Al Capone Flappers, Clara Bow, Rudolph Valentino Babe Ruth, Jack Dempsey

The Vc Shakeout Essay

2033 words - 9 pages ECONOMY 26 Luring a big firm to town is not the secret to job growth DEFEND YOUR RESEARCH 30 Are morning people wired for success? VISION STATEMENT 32 The social web’s east-west divide COLUMN 38 Warren Bennis looks back on his surprising path to fame New Thinking, Research in Progress New Thinking, Research in Progress FIRST The VC Shakeout Venture capital hasn’t worked for a decade and must be radically