...Chapter 10 Instruction Sets: Characteristics and Functions What is an instruction set? - The complete collection of instructions that are understood by a CPU - is the part of the computer architecture related to programming, including the native data types, instructions, registers,addressing modes, memory architecture, interrupt and exception handling, and external I/O. An ISA includes a specification of the set of opcodes (machine language), and the native commands implemented by a particular processor. - Machine Code - Binary - Usually represented by assembly codes Elements of an Instruction -Operation code (Op code) - Do this - Specifies the operation to be performed (e.g.. ADD, I/O). The operation is specified by a binary code, known as the operation code, or opcode. - Source Operand reference - To this - The operation may involve one or more source operands, that is, operands that are inputs for the operation. - Result Operand reference - Put the answer here - The operation may produce a result. - Next Instruction Reference - When you have done that, do this... - This tells the CPU where to fetch the next instruction after the execution of this instruction is complete. Where have all the Operands gone? - The next instruction to be fetched is located in main memory or, in the case of a virtual memory system, in either main memory or secondary memory (disk). In most cases, the next instruction to be fetched immediately follows...
Words: 920 - Pages: 4
...Set of Instructions Author Author Affiliation Abstract Instructions are set of guidelines that helps to perform a process or procedure. Making an USB fan is an easy “Do It Yourself” project. Anybody with access to a computer USB port can run a small fan. This paper describes instructions to be followed in order to make a USB fan. Title of Paper Equipment required: 1. Small 5 Volt dc Motor. 2. An adhesive glue, 3. A (exhausted) round shaped marker pen, 4. An USB cable, 5. Cutting tool like scissors or knife, 6. Wire stripper, 7. Tape, 8. Plastic gear available from any small toy car. 9. A circular piece of plastic of diameter 3” Instructions: 1. Firstly cut the USB cable at one end (it should be the end with female jack), 2. Locate red and black cables. Leave the rest. 3. Stripe out the copper wires using cable stripper, 4. Connect the red and black cable to that of the motor, 5. Attach the gear to the shaft of the motor, 6. Now make 8 cut to the center of the circular plastic. It would take small triangular shapes. Twist the triangular shaped wings of the fan slightly inwards, 7. Attach the circular plastic to the gear using glue, 8. Put the motor with the plastic on top of the marker and stick with the glue, 9. Now fix the other part of the marker on top of the cd vertically. 10. Connect the male USB jack to the USB port of a computer. The fan should move perfectly. Figure 1: Completed...
Words: 318 - Pages: 2
...Are private instructions really worth the investment? Every child loves to play a sport but not everyone is talented. With a little coaching by a private instructor a child’s dream of becoming great at a sport can come true. With private instruction, children and their parent’s can be proud of the possible outcome. Private instruction is definitely worth the investment for various reasons. First financial commitment should be something the child and parent are focused on. A parent shouldn’t sign a child up for private instructions unless they really need them too. The child shouldn’t feel like their wasting their parent’s hard-earned money. Also time commitment is an important key to great results. If you are dedicated to the private instruction no matter how many days or hours they are you will be there. The time you put in for your instructions will show. For example if your classes are three times a week but you show up once a week don’t except to be the best at what you’re doing. Be dedicated, to the days, hours and be on time, never slack. Finally the level of competition in which you as the parent asking yourself does my child really needs one-on-one instructions. Sign your child up if he/she is trying to be the best athlete they can be on a high school or college competition level. They’ll get one-on-one attention catered around their needs and skills and have someone dedicated just to them and their sports success. A four through maybe eleven year old will...
Words: 331 - Pages: 2
...Instruction Set Sl.No. Instruction 1 nop 2 stop 3 adi xx 4 subi xx 5 xri xx 6 ani xx 7 ori xx 8 cmi xx 9ret 16 17 add 18 sub 19 xor 20 and 21 or 22 cmp 23 movs 24 movd 25 movi xx 26 store 27 load 28 push 29 pop 30jmpd xx 37 38jmpr 45 for the Single-Bus Processor Architecture Action Op Code (Hex) No action 00 Exit the program 01 02 [AR] ← [AR] + xx 03 [AR] ← [AR] – xx 04 [AR] ← [AR] ⊕ xx 05 [AR] ← [AR] ∧ xx 06 [AR] ← [AR] ∨ xx [AR] – xx (Flags only) 07 [PC] ← [[SP]], [SP] ← [SP]+1 08 to 0F if = 1 10-1F (n:0-F) [AR] ← [AR] + [] 20-2F (n:0-F) [AR] ← [AR] – [] 30-3F(n:0-F) [AR] ← [AR] ⊕ [] 40-4F(n:0-F) [AR] ← [AR] ∧ [] 50-5F(n:0-F) [AR] ← [AR] ∨ [] [AR] – [] (Flags only) 60-6F(n:0-F) 70-7F(n:0-F) [OR] ← [], [AR] ← [] 80-8F(n:0-F) [] ← [AR] 90-9F(n:0-F) [] ← xx [[AR]] ← [] [] ← [[AR]] [SP] ← [SP]–1, [[SP]] ← [] [] ← [[SP]], [SP] ← [SP]+1 [PC] ← xx if = 1 [PC] ← [AR] if = 1 A0-AF(n:0-F) B0-BF(n:0-F) C0-CF(n:0-F) D0-DF(n:0-F) E0 to E7 E8 to EF 46[SP] ← [SP]–1, [[SP]]← [PC], cd xx F0 to F7 53 [PC] ← xx if = 1 54[SP] ← [SP]–1, [[SP]]← PC], cr F8 to FF 61 [PC] ← [AR] if = 1 Flags: Zero (Z), Carry (CY), Sign (S), Parity (P) = u/z/nz/c/nc/p/m/op ⇒ FL = 0/Z/Z’/CY/CY’/S/S’/1 if Parity odd = r1/r2/r3/r4/r5/r6/r7/r8/r9/r10/r11/PC/SP/AR/OR ALU Function Codes: 0000 0001 0010 0011 0100 0101 0110 1111 ADD SUB XOR AND OR CMP A1 Architecture based on a Single Internal Data Bus RD WR Address Bus LMR Memory Address Register (MR) Memory and Input/Output Ports SRG Data...
Words: 551 - Pages: 3
...V Term Paper Course code :CSE 211 Course title: Computer Organisation and Architecture Submitted to: Ramanpreet Kaur Lamba Madam Submitted by: K. Nabachandra Singha Very-Long Instruction Word (VLIW) Computer Architecture ABSTRACT VLIW architectures are distinct from traditional RISC and CISC architectures implemented in current mass-market microprocessors. It is important to distinguish instruction-set architecture—the processor programming model—from implementation—the physical chip and its characteristics. VLIW microprocessors and superscalar implementations of traditional instruction sets share some characteristics—multiple execution units and the ability to execute multiple operations simultaneously. The techniques used to achieve high performance, however, are very different because the parallelism is explicit in VLIW instructions but must be discovered by hardware at run time by superscalar processors. VLIW implementations are simpler for very high performance. Just as RISC architectures permit simpler, cheaper high-performance implementations than do CISCs, VLIW architectures are simpler and cheaper than RISCs because of further hardware simplifications. VLIW architectures, however, require more compiler support. INTRODUCTION AND MOTIVATION Currently, in the mid 1990s, IC fabrication technology is advanced enough to allow unprecedented implementations of computer architectures...
Words: 3947 - Pages: 16
...execution is dependent on the addressing mode of the instructions. The addressing mode specifies a rule for interpreting or modifying the address field of the instruction before the operand is actually referenced. Computers use addressing mode techniques for the purpose of accommodating one or both of the following provisions: 1 Addressing Modes Computers use addressing mode techniques for the purpose of accommodating one or both of the following provisions: 1. 2. to give programming versatility to the user by providing such facilities as pointers to memory, counters for loop control, indexing of data and program relocation. To reduce the number of bits in the addressing field of the instruction. 2 Addressing Modes Immediate Direct Indirect Register Register Indirect Displacement (Indexed) Stack 3 Immediate Addressing Operand is part of instruction Operand = address field e.g. ADD 5 Add 5 to contents of accumulator 5 is operand No memory reference to fetch data Fast Limited range 4 Immediate Addressing Diagram Instruction Opcode Operand 5 Direct Addressing Address field contains address of operand Effective address (EA) = address field (A) e.g. ADD A Add contents of cell A to accumulator Look in memory at address A for operand Single memory reference to access data No additional calculations to work out effective address Limited address space 6 Direct Addressing Diagram Instruction Opcode Address A Memory Operand 7 Indirect...
Words: 595 - Pages: 3
...how to operate the craft. So I would be perfect to create an instruction manual for operating a 34ft Patrol Craft. More likely you have no clue what a 34ft SeaArk Patrol Craft is or what one might look like. Which makes it even more of a fun challenge to me on explaining all the details about the craft. I can first tell you about all the capabilities of the craft, then get more into how you start it and actually operate the craft. There are some technical words I would have to explain like some of the positions for example on the craft. Coxswain for instances, is the person that is completely in charge of the craft and its safety and the safety of the crew that is on board. It might seem like as you’re reading this that I might not be able to instruct you on how to operate this craft. I will be able to put the instruction manual into words that a person that has never been on a boat will be able to understand. I promise that if I can teach/train some of the most brand new sailors to the navy to operate the craft. Then I know for a fact by the time you’re done reading my instruction manual, you’ll be able to walk onto a 34ft SeaArk and go to work. I mean if the United States Navy trusts in me to teach/train junior personnel to operate these 15 million dollar patrol crafts, I think I more than qualify to write an instructor manual for it. So I ask you to entrust in me as well and let me make this instruction manual for you....
Words: 362 - Pages: 2
...them to perform in an orderly manner and helps them to have the correct items for homework. Again, the lining up keeps the children on task and performing as expected Transition Between Areas: This routine is important because it is a time when students may be tempted to act out and cause distraction and noise. As a routine, the steps of listening to the instruction, being given jobs and then explained the task or assignment. The teacher’s instruction builds on all the routines of keeping order and having less chaos in the classroom. The children know what is expected and can expect consistency and learn it as a daily routine. Distribution of Materials: The teacher gathers the students together around her. She assigns "jobs" to the students. These jobs are different each day for the students. The "supplier" is instructed on what items to retrieve for their groups. This keeps each group on task and synced in time for the assignment given. Field Trip: As in the beginning and end of day routines, the students line up. They line up inside in order for them to stay together and calm. When the teacher gives the instruction the students then walk to the boarding area in line and in orderly...
Words: 459 - Pages: 2
...CH11 Instruction Sets: Addressing Modes and Formats Software and Hardware interface Addressing Modes • • • • • • • Immediate Direct Indirect Register Register Indirect Displacement (Indexed) Stack • • • • Addressing Pentium and PowerPC Addressing Modes Instruction Formats Pentium and PowerPC Instruction Formats TECH Computer Science CH10 Immediate Addressing Immediate Addressing Diagram • Operand is part of instruction • Operand = address field • e.g. ADD 5 Add 5 to contents of accumulator 5 is operand Instruction Opcode Operand • No memory reference to fetch data • Fast • Limited range Direct Addressing • Address field contains address of operand • Effective address (EA) = address field (A) • e.g. ADD A Add contents of cell A to accumulator Look in memory at address A for operand • Single memory reference to access data Direct Addressing Diagram Instruction Opcode Address A Memory • No additional calculations to work out effective address • Limited address space Operand Indirect Addressing (1) • Memory cell pointed to by address field contains the address of (pointer to) the operand • EA = (A) Look in A, find address (A) and look there for operand • e.g. ADD (A) Add contents of cell pointed to by contents of A to accumulator Indirect Addressing (2) • Large address space • 2n where n = word length • May be nested, multilevel, cascaded e.g. EA = (((A))) f Draw the diagram yourself • Multiple memory accesses to find...
Words: 592 - Pages: 3
...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...
Words: 457 - Pages: 2
...is said to be all those activities which are designed to encourage the subordinates to work effectively and efficiently. According to Human, “Directing consists of process or technique by which instruction can be issued and operations can be carried out as originally planned” Therefore, Directing is the function of guiding, inspiring, overseeing and instructing people towards accomplishment of organizational goals. | Direction has got following characteristics: 1. Pervasive Function - Directing is required at all levels of organization. Every manager provides guidance and inspiration to his subordinates. 2. Continuous Activity - Direction is a continuous activity as it continuous throughout the life of organization. 3. Human Factor - Directing function is related to subordinates and therefore it is related to human factor. Since human factor is complex and behaviour is unpredictable, direction function becomes important. 4. Creative Activity - Direction function helps in converting plans into performance. Without this function, people become inactive and physical resources are meaningless. 5. Executive Function - Direction function is carried out by all managers and executives at all levels throughout the working of an enterprise, a subordinate receives instructions from his superior only. 6. Delegate Function -...
Words: 324 - Pages: 2
...to ensure good service to the student. It is not only an observation but also an existence. The author points out that most teachers have a negative view of supervision and the relationship between the teacher and supervisor can be hostile and only provides summative evaluation. To counteract the situation, the clinical supervision model was introduced to propose that teachers can be familiar with the evaluate approach of clinical supervision. Under this model, the following supervisory requirements for successful implementation of clinical supervision are identified: teachers should learn specific intellectual and behavioral skills to improve instruction. Supervisors should take responsibility for helping teachers to develop skills for analyzing the instructional process and emphasize what and how teachers teach, to improve instruction not to change the teacher’s personality. Planning and analysis should center on making and testing instructional hypotheses based on observational evidence. The planning conference is to establish a common frame of reference for the planning observation, also establish rapport between the teacher and those supervising. The lesson plans should be implemented during the observation and discussed. Observation: the purpose is to improve an objective record to mirror what the teacher actually said and did during the instructional process. The role of the supervisor is to observe, stay neutral not to interact or interfere in the classroom activities...
Words: 476 - Pages: 2
...Macbeth. Macbeth says before he commits the deed. We still have judgement here, that we but teach Bloody instructions, which being taught, return to plague the inventor, the thought of what he is about to do has a clear psychological effect on him as he begins to think about what will happen to him on judgement day. In conclusion, the result of the hope generated from this dream a new psychological atmosphere appears on the ranch. This is slightly similar to Macbeth, as the effects are also very psychological. The process of committing the murder was chosen by Shakespeare, as it arouses deep feelings and psychological problems for Macbeth. Macbeth says before he commits the deed. We still have judgement here, that we but teach Bloody instructions, which being taught, return to plague the inventor, the thought of what he is about to do has a clear psychological effect on him as he begins to think about what will happen to him on judgement day. In conclusion, the result of the hope generated from this dream a new psychological atmosphere appears on the ranch. This is slightly similar to Macbeth, as the effects are also very psychological. The process of committing the murder was chosen by Shakespeare, as it arouses deep feelings and psychological problems for Macbeth. Macbeth says before he commits the deed. We still have judgement here, that we but teach Bloody instructions, which being taught, return to plague the inventor, the thought of what he is about to do has a clear psychological...
Words: 1945 - Pages: 8
...tests included color in various settings; each produced results that favored color. The degree of color depends on what is being demonstrated in the picture. If the instruction calls for a specific part of the pictured object to be manipulated, coloring just that part proves most effective. If the intended audience is people with poor reading and interpreting skills, then it is highly recommended that color be used in this manner. All the results from the research suggest that people who are easily frustrated with instructions prefer highlights to black and white, and full color. Furthermore, the color should be strictly limited to the major functions of the task being illustrated. Unnecessary highlights increase the complexity, and in turn the understandability of the picture. A further recommendation can be made concerning the amount of highlighting that should be used. The number of different colors in any given picture instructing a complex task should be limited. When highlighting the important functions of the task, only a small range of colors should be included. If a broad range of colors is used, the reader could interpret their meaning incorrectly. They could, for example, think one color is more important than another is or think that the colors are implying a sequence in the instructions. If the picture is of a general object or action with no focus, then using full color, as opposed to black-and-white, is more effective. Overall, color is more attractive...
Words: 1718 - Pages: 7
...An Ethical Dilemma In The Workplace The Dilemma; An Assistant Teacher, from my Counseling Ministry, has worked for twenty years in many types of school setting and with students from grades Pre-K to High school. During her career, she has encounter unfavorable encounters with her peers, parents and students. One particular incident she received a written reprimand from her supervisor. The supervisor stated she engaged in dishonorable conduct of insubordination. She refuses to abide by the instructions, refuses to follow policies, and refused to perform designated work. It also said she was neglecting one’s own job, duties, and responsibility or provided the best possible service as an Assistant Teacher. The reprimand threatens her probationary period as well as threatens to immediately dismiss her from her position. Ms. Lee decided to seek my help for counsel. The Problem Ms. Lee was told she needed to improve communication, grammar and language while speaking to parents and students. Needed to gain knowledge and perform the position, which hired for, in regards to customer relationships. Need to maintain that position as well as confidentiality. Classroom management guidelines were need for a conducive environment. Co-operative and Initiative skills were needed to develop with staff and all stakeholders. Loyalty was needed to reflect a professional level. • How did you or would solve the dilemma, and why you would solve it Ms. Lee presented a guide line given- an...
Words: 767 - Pages: 4