Free Essay

Tech

Submitted By sammyosan
Words 457
Pages 2
1. (12 points) Show how the value ASCII “DEVORA” is stored as hexadecimal in memory in Big Endian format starting at location 200 hexadecimal. Assume that each memory location stores two ASCII characters.

|Memory Location |Value Stored |
| | |
| | |
| | |

2. (18 points) ) For X = 0011 1111, show the result of the following independent operations (i.e. each instruction occurs with X starting at the value above):

a) Shift-right ____ ____

b) Circular Shift-right ____ ____

c) Shift-left ____ ____

d) Circular Shift-left ____ ____

e) Arithmetic Shift-left ____ ____

f) Arithmetic Shift-right ____ ____

3. (12 points) a) Convert the following formula from postfix (Reverse Polish Notation) to infix: AB*CD/+

b) Convert the following formula from infix to postfix (Reverse Polish Notation): A + B * C + D / E * F

Note that the result of part b) can be used in problem 7
In the problems 4 through 7 write code that performs the computation: X = A + B * C + D / E * F

using CPUs that have the following instruction formats. You may only use registers A through F, plus X and T. Registers A through F may not be changed, i.e. their values are fixed. Register T may be used as a temporary register, and Register X must contain the final answer.

4. (12 points) Three-operand instructions

5. (12 points) Two-operand instructions

6. (12 points) One-operand instructions

7. (12 points) Stack instructions

See Self-Assessment problem 9 in Module for a similar problem.

It is important to remember that operational hierarchy dictates that: • we first perform all arithmetic inside inner parentheses (if there are any), • then inside outer parentheses (if there are any), • then do multiplication and division operations before addition and subtraction operations. 8. (16 points) A two-word instruction is stored at location 150 with its address field at location 151 (all numbers in hexadecimal). The first word of the instruction specifies the operation code and mode; the second word specifies the address part.

The values of the program counter (PC register), a general register (R1), the index register (XR), the base register (BR), and certain addresses in memory are as shown below.

Evaluate the effective address and the value that is loaded into the AC if the addressing mode of the instruction is:

| | | |the AC |
|a) |Immediate | | |
|b) |Direct addressing | | |
|c) |Indirect addressing | | |
|d) |Register | | |
|e) |Register indirect | | |
|f) |Relative address | | |
|g) |Base register addressing | | |
|h) |Indexed addressing | | |

|PC =150 | |150 |Load to AC; Mode |
| |151 |Address = 300 |
|R1 = 800 | |152 |Next instruction |
| |: |: |
|XR = 400 | |200 |300 |
| |: |: |
|BR = 500 | |300 |600 |
| |: |: |
|AC = ? | |452 |100 |
|: |: |
|600 |700 |
|: |: |
|700 |750 |
|: |: |
|800 |900 |
|: |: |
|900 |950 |

Similar Documents

The Seung-Hui-Cho: The Virginia Tech Massacre

...On April 16th, 2007, at 7:00 a.m. it started out as a normal school day for Virginia Tech students, as most were preparing the upcoming classes they had in the later day. Seung-Hui-Cho shot and killed two of his peers in the Virginia Tech dormitory (West Ambler Johnston Hall), with no dismay. Two and a half hours later thirty-one more Virginia Tech students (Norris Hall), including Seung-Hui-Cho, would also follow in pursuit of death from this infamous massacre. The massacre was in fact horrendous, for not just students and faculty of Virginia Tech, but also for the citizens of the United States, including myself. I do in fact, remember this national tragedy, however, I was only six years old and didn't quite understand what was going....

Words: 1161 - Pages: 5

Virginia Tech Mass Shooting Essay

...Seung-Hui Cho was the person responsible for the Virginia Tech Mass Shooting. At the time of the shooting, he was only 23 years old. The spree killer and mass murderer who killed 32 people, and wounded 17 other people with two semi automatic pistols on April 16th, 2007. Virginia Polytechnic Institute and State University in Blacksburg, Virginia was the location of the mass shooting that occurred on April 16th, 2007. Was Bullying or a mental disorder the cause of this mass shooting? Seung-hui Cho in Korea, properly know an Cho Seung-hui. cho was born on January 18th, 1984 in the city of Asan, in South Korea's South Chungcheong Province. Before immigrating to the United States, Cho and his family lived in a basement apartment. During September 1992, Cho's father made it possible for family to immigrated to the United states to seek better life for himself, and his family. The cho family first lived in Detroit, Michigan, then shortly afterwards moved to Washington particularly to Virginia, Washington. Cho's family members who lived in South Korea, thought that Cho had a mute disorder, or thought Cho was...

Words: 712 - Pages: 3

Free Essay

Innovation

...CHINA BOOST FOR SENAI HI-TECH PARK Senai Hi-Tech Park, Malaysia's second high technology industrial park, got off to a promising start with investments of more than US\$500 million (RM1.7 billion) from two companies in Johor. China-based EQ Solar Technology International Sdn Bhd plans to invest US\$500 million to produce solar modules while leading industrial gases provider MOX-Linde Gases Sdn Bhd, through its initial outlay of RM60 million, plans to set up an industrial gases separation plant. Senai High Tech Park chief executive officer (CEO) Datuk Ahmad Shukri Tajudin said this shows that the park is ready to compete as another preferred location for hightechnology manufacturing, research and innovation activities. Located within Iskandar Malaysia, the park has drawn interest from investors in the US, Europe and China. "Interest is in various sectors including semiconductor industry and solar," he said at a media briefing. International Trade and Industry Minister Datuk Seri Mustapa Mohamed, witnessed the signing of the memorandum of understanding in Kuala Lumpur yesterday. "We're expecting a few more similar investments," Mustapa said, without disclosing details. Malaysia has so far attracted several global solar industry players like First Solar, Sunpower and Q-Cells. There are also several domestic investments in solar power projects in Selangor and Sabah. Mustapa hopes that the park will create more jobs, similar to what was achieved at the Kulim Hi-Tech Park in the......

Words: 452 - Pages: 2

Free Essay

Guillermo Furniture

...over the years. Guillermo Furniture Store Recommendation Analysis and Recommend Financial Decision The economy is weak, new competitors’ establishing a presents, Guillermo must tackle a tough decision, which is to become a furniture distributor or stay on the manufacturing side, or possibility do both. Guillermo understands that change is forth coming and he has to venture forward but the dilemma is what the best alternative is. First Guillermo must analysis the financial alternatives and establish which objective is beneficial for the company. The next step is to gather information and formulate a pro forma cash flow budget to analyze the projected earnings for the next five years for the company (University of Phoenix, 2007). Hi-Tech Option Guillermo established his wealth various years ago because of the low cost in labor along with an extraordinary location for manufacturing. The company’s success has held strong on those foundations until now. There are a few concerns for Guillermo that may cause the company to change the way it does...

Words: 2497 - Pages: 10

Hrm in Israel

...The transition from a Socialist approach to a free market approach and the rise of a new high-tech sector are two remarkable shifts that have occurred in the last two decades in Israel. In the face of these changes, human resource (HR) practitioners are currently expected to assume new roles, adopt different work values, and apply appropriate strategies. HR managers in the low-tech industry still adhere to traditional values and strategies, including a reliance on trade unions and an emphasis on job security and the employees’ years of work experience and seniority as key criteria for promotion. In the emerging high-tech sector, HR managers have adopted new values and developed new strategies, including human resource management programs, employee empowerment, higher salaries and better benefits, while placing an emphasis on employees’ talents and qualifications. Source: http://www.emeraldinsight.com/journals.htm/journals.htm?issn=01437720&volume=22&issue=3&articleid=848302&show=html&PHPSESSID=qj5kp1babsuadbfaj 47luam41 Recent changes in Israeli society and economy and their relation to Organizational Politics Over the past three decades, Israel has undergone significant economic, industrial and cultural transformations. These developments have shifted public values considerably and may indirectly affect OP and HR practices. For example, Sagie and Weisberg (2001) maintain that in recent years, Israeli society has gone from being......

Words: 1651 - Pages: 7

Four Strategically Required Organizational Outcomes for Siemens

...strategy-oriented HR system case study 1. * Strategically required organizational outcomes: * Good products and good services. Products and services is always the most important thing for a manufacturing company. Siemens has become a world leader by diversifying into hi-tech products and services, it need to maintain this advantage and develop it even further to achieve more. * Going global and expand. Globalization gives big companies a chance to expand rapidly. Siemens has succeeded in going global but this is a long way, it still needs more expansion into more countries or areas that are not covered yet. * Positive brand image. A good company image is extraordinarily important to the company’s healthy development. Siemens needs to keep customers satisfied both with its products and services, which helps it to get more market share and expand even faster. * A good employee selection, training and compensation system. The company not just need to keep customers satisfied, it has to keep employees happy too. So that it can work more efficiently and effectively. * Required workforce competencies and behaviors: * Learning on a continuing basis. Siemens is in high-tech business so the nature decided that its employees need to learn new things every day. * Good teamwork. The ability to work with people is essential in such big corporation. Especially when it’s going global. * Mutual respect and appreciation of workforce diversity.......

Words: 296 - Pages: 2

Free Essay

Tech

...new TLF Panel survey conducted on behalf of kids clothing retailer Vertbaudet.co.uk found that four in five parents believe technology and gadgets are good for kids, aiding in their development. The study found that 37 percent of parents asked said that their child spent between one and two hours a day playing with tech gadgets, and 28 percent said between two- and three hours. Moreover, the study found that 38 percent of two- to five-year-olds own an Android tablet, and 32 percent own an iPad; almost a third (32 percent) of these kids also have a mobile phone. The reason behind all this gadget use: over a third of parents (35 percent) said they use tech gadgets to entertain their children because they are convenient, and nearly a quarter (23 percent) because they want their children to be tech-savvy. A 2015 survey of 1,000 British mothers of children aged 2 to 12 found that 85 percent of mums admit to using technology to keep the kids occupied while they get on with other activities. The AO.com survey pointed to children spending on average around 17 hours a week in front of a screen – almost double the 8.8 weekly hours spent playing outside. Wanting our children to tech-savvy is understandable, and the need to keep them entertained will also make sense to many a parent. But we must also weigh up the...

Words: 3718 - Pages: 15

Tech

...Technology Ventures From Idea to Enterprise is p r bite ohi d. se The pre na limi ry p s age are p are rep d fo r s ent tud s of D ho r. T ma Any s. yer sB oth e e r us se The pre na limi ry p s age are p are rep d fo r s ent tud s of D ho r. T ma Any s. yer sB oth e e r us is p r bite ohi d. Technology Ventures From Idea to Enterprise d. Thomas H. Byers Stanford University se The pre na limi ry p s age are p a Richard C. Dorf . Thom f Dr University of California, Davis so t den stu r d fo Andrew J. Nelson are rep University of Oregon Any s. yer sB oth e e r us is p r bite ohi TECHNOLOGY VENTURES: FROM IDEA TO ENTERPRISE, THIRD EDITION Published by McGraw-Hill, a business unit of The McGraw-Hill Companies, Inc., 1221 Avenue of the Americas, New York, NY 10020. Copyright @ 2001 by The McGraw-Hill Companies, Inc. All rights reserved. Previous editions © 2008 and 2005. No part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written consent of The McGraw-Hill Companies, Inc., including, but not limited to, in any network or other electronic storage or transmission, or broadcast for distance learning. Some ancillaries, including electronic and print components, may not be available to customers outside the...

Words: 60653 - Pages: 243

Tech

Words: 1771 - Pages: 8

Tech

...John Weatherwax Week 7 En 1320 Research paper New technology break troughs, Research question, less than 30 years ago we had no cell phones If we can talk on a cell phone that is a watch today and where will we be in 30 more years? Just by what I have seen and heard from various producers of cell phones I do believe that the cell phone tech is going to be in the field of a wearable devices the new (in the last few years ) watches are just the start. In the 50’s Dick Tracy had a watch that the new watches mimic so what is next will it implants or projectable it is hard to tell but in my thoughts it will be in the realm of a wearable and possibly a wearable projection device. Articale #1 Cast your mind back to late 2008, when the first Android-powered handset saw the light of day. Obama won his first Presidential election, Apple launched its App Store (the iPhone had appeared the year before), Google announced its own Chrome browser and we got our first look at the company's new mobile OS on the T-Mobile G1. The Android of 2013 is a world away from that 2008 version, where the Android Market was in its infancy, there were no native video playback capabilities and the G1 had no multi-touch support. But Google is going to have to keep innovating and improving its mobile OS to keep the lion's share of the smartphone market. We've taken a peek into the future to consider what Android might look like in the year 2020. With new Android monikers now appearing about......

Words: 3468 - Pages: 14

Tech

...Why Apple? As you might already know, Apple, the huge computer company, has recently been on many peoples minds. Whether it’s because of its famous Macbooks and iMac’s, or the new iPhone 4, the iPad, or its renowned iPod, all of whom make up part of the revolutionary repertoire of Apple products. Farhad Manjoo celebrates the fact that “Apple cultivates religious fervor among its adherents in a number of subtle ways, including its mysteriousness and its suggestion that customers are among the chosen ones”(43). Farhad is insisting that Apple has, not only made loyal customers, but more of a cult of sorts, in which fans of the companies products acclaim their work in many different ways, some so extreme as to getting the company logo tattooed on their bodies. In the “Think Different” advertisement campaign, when Steve Jobs returned to Apple, marked the era of success for them. In the ad campaign they emphasized their way of thinking and their philosophy as a revolutionary company that not only encourages new and better ways to do things, they strive for it. Their clever use of key figures like Albert Einstein, Mahatma Gandhi, Muhammad Ali, Dr. Martin Luther King, among others; they expressed how the world has moved forward thanks to people that think different, ultimately including themselves in this group of figures. But, what exactly makes Apple so popular? How have they positioned themselves so highly in their consumer’s mind? Author Jason Snell believes that “Not......

Words: 684 - Pages: 3

Free Essay

Tech

...Technology in the Renaissance and Early Modern Period I. Science and Technology in the Renaissance - Texts and works that were lost at one point were now refound - European scholars were now studying those texts that got translated into Arabic during the dark ages - The works of Plato etc become popular, not so much Aristotle anymore - “rebirth”; interest in newly recovered classical texts – humanists - travel, adventure and navigation - increased use of military technology results requires lots of money: increased taxation, wealth - leads to formation of new nation-states that can afford to engage in such enterprises (i.e. France emerges as state in 15th century) - costs associated with producing technologies (i.e. gunpowder), building and maintaining armies - many texts recovered after fall of Constantinople to Turkish army in 1453; transferred to Italy and retranslated - Catholic church challenged with Protestant Reformation; increased role of patronage and royal courts - Higher status for role of engineer - change in values: knowledge for wealth, power and status over standard theological considerations and attaining salvation turning point in the story of technology - changes in attitudes toward natural philosophy and technical arts, and change in relationship between science and technology - natural philosophers: justify search for knowledge on utilitarian and not just theological reasoning; this...

Words: 3090 - Pages: 13

Tech

...CHAPTER 16 COST ALLOCATION: JOINT PRODUCTS AND BYPRODUCTS 16-16 (20-30 min.) Joint-cost allocation, insurance settlement. 1. (a) Sales value at splitoff-point method. | |Pounds |Wholesale |Sales |Weighting: |Joint |Allocated | | |of |Selling Price |Value |Sales Value |Costs |Costs per | | |Product |per Pound |at Splitoff |at Splitoff |Allocated |Pound | |Breasts |100 |\$1.10 |\$110 |0.675 |\$ 67.50 |0.6750 | |Wings |20 |0.40 |8 |0.049 |4.90 |0.2450 | |Thighs |40 |0.70 |28 |0.172 |17.20 |0.4300 | |Bones |80 |0.20 |16 |0.098 |9.80 |0.1225 | |Feathers |10 |0.10 |1 |0.006 |0.60 |0.0600 | | |250 | |\$163 |1.000 |\$100.00 | | Costs of......

Words: 2466 - Pages: 10

Free Essay