Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,171,711 members, 7,882,423 topics. Date: Sunday, 07 July 2024 at 03:30 AM

Computerscjn's Posts

Nairaland Forum / Computerscjn's Profile / Computerscjn's Posts

(1) (of 1 pages)

Education / Instruction And Its Type In Computer Architecture Based Gate Cse Syllabus Exam by computerscjn: 10:02am On Sep 11, 2019
Objective of this https://www.computersciencejunction.in/2019/08/gate-cse-syllabus.html gate cse syllabus is to understand the concepts of instructions and its types.
Instructions are the commands given to the computer to perform a task. Computer instructions are some time also known as machine instruction. Machine Instructions are commands or programs written in machine code of a machine (computer) that it can recognize and execute the machine instruction. In general an instruction has the following features:
a) A machine instruction consists of several bytes in memory. This part of instruction is known as opcode that tells the processor about the operation to be performed.
b) A special register “program counter” holds the address of next instruction to be execute. The processor looks at machine instructions in main memory one after another, and performs one machine operation for each machine instruction.
c) Set of instruction in main memory is known as Instruction Set of simply program.
Machine code or machine language is a set of instructions executed directly by a computer’s central processing unit (CPU). Each instruction performs a very specific task, such as a load, a jump, or an ALU operation on a unit of data in a CPU register or memory. Every program directly executed by a CPU is made up of a series of such instructions.
Example:
MOV R5,#25H

In the given instruction we are loading the value 25 in register R5.

Types of instruction: Sometime in gate exam several questions are asked from the this section. Generally in exam for a given expression we have to write the program in machine language. To write that program it is necessary that we have knowledge about different types of instruction. In this gate cse syllabus here we are telling about different types of instruction.

1. Data transfer instructions: Data transfer instructions are basically used to move the data from memory to register, register to memory and register to register. Move, load, exchange, input, output are some example of data transfer instructions.
• MOV :Move byte or word to register or memory .
• IN, OUT: Input byte or word from port, output word to port.
• LEA: Load effective address
• LDS, LES Load pointer using data segment, extra segment .
• PUSH, POP: Push word onto stack, pop word off stack.
• XCHG: Exchange byte or word.
• XLAT: Translate byte using look-up table.
2. Arithmetic instructions – These instruction are used to perform arithmetic operation like add, subtract, increment, decrement, convert byte/word and compare.
• ADD, SUB: Add, subtract byte or word
• ADC, SBB :Add, subtract byte or word and carry (borrow).
• INC, DEC: Increment, decrement byte or word.
• NEG: Negate byte or word (two’s complement).
• CMP: Compare byte or word (subtract without storing).
• MUL, DIV: Multiply, divide byte or word (unsigned).
• IMUL, IDIV: Integer multiply, divide byte or word (signed)
• CBW, CWD: Convert byte to word, word to double word
• AAA, AAS, AAM,AAD: ASCII adjust for add, sub, mul, div .
• DAA, DAS: Decimal adjust for addition, subtraction (BCD numbers)
3. Logic instructions – These Instruction are used to perform Bitwise AND, OR, exclusive OR, shift/rotate operation.
• NOT : Logical NOT of byte or word (one’s complement)
• AND: Logical AND of byte or word
• OR: Logical OR of byte or word.
• XOR: Logical exclusive-OR of byte or word
• TEST: Test byte or word (AND without storing).
• Shift, rotate instruction- SHL, SHR Logical shift left, right byte or word? by 1or CL
• SAL, SAR Arithmetic shift left, right byte or word? by 1 or CL
• ROL, ROR Rotate left, right byte or word? by 1 or CL .
• RCL, RCR Rotate left, right through carry byte or word? by 1 or CL.
4. Control transfer instructions – conditional, unconditional, call subroutine and return from subroutine.
• JMP:Unconditional jump .it includes loop transfer and subroutine and interrupt instructions.
5. Loop control instructions-
• LOOP: Loop unconditional, count in CX, short jump to target address.
• LOOPE (LOOPZ): Loop if equal (zero), count in CX, short jump to target address.
• LOOPNE (LOOPNZ): Loop if not equal (not zero), count in CX, short jump to target address.
• JCXZ: Jump if CX equals zero (used to skip code in loop).
• Subroutine and Intrrupt instructions-
• CALL, RET: Call, return from procedure (inside or outside current segment).
• INT, INTO: Software interrupt, interrupt if overflow. IRET: Return from interrupt
Nairaland / General / Cheap Website Design Company, Dubai by computerscjn: 5:29pm On Sep 16, 2017
Design Turtle offers interactive and engaging website designing services at affordable rates. Our websites are created completely as per your business requirements.. Our professional designers and developers give you creative and unique design concepts customized to your needs.

Your website reflects your products, services and your business. Hence, it is very essential to have a beautifully professional website that helps in drawing the attention of the audience. Not only should a website be unique and creative but it should also be SEO friendly so that your business gets search engine rankings. Once you get a boost of your website, you are sure to get good return on your investment by generation of new leads and creating conversion ratios.

Visit us at www.edesignturtle.com to know more about our cheap website design services.

Nairaland / General / Tips For Buying Stainless Steel Scissor Lift Table by computerscjn: 10:43am On Sep 15, 2017
When your work requires overhead task and you are using scaffolding or ladders, it is now time for you to consider the effectiveness and safety of scissor lift. With Stainless Steel Scissor Lift Table which is powered electrically, you can provide a safer job environment for your subordinates and make their work easier to meet translyft requirements that call people who are working over six feet on top the ground level must be protected from falling.

For more information visit
website:http://translyft.com/GB/Products/Stainless%20steel.aspx

Pets / Get The Pet Lovers Memorial Candle by computerscjn: 2:51pm On Sep 13, 2017
luxepets is a memorial website for Pet Memorial Candle. According to the terms of use on the website, www.luxepets.com is a cyber-cemetery (website) for sharing your dog memories and photos with other dog lovers. In addition to memories and photos, a registered pet parent may share his or her dog's favorite toy, treat, game and pastime, as well as special skills. To create a Pet lovers Memorial Candle, he or she needs to complete only one page. Visitors who wish to pay tribute may leave messages and Tokens of Affection, which include steak, heart, daisy, bone, donut, and bacon strip.Finally, a Pet lovers Memorial Candle may be send to family and friends.

For more information visit
website:http://www.luxepets.com/product/in-loving-memory-pet-lovers-memorial-candle-gift-set-with-pet-loss-token/

Education / Bus In Computer System Based Study Material For Gate Computer Science Exam by computerscjn: 9:41am On Sep 11, 2017
Different units or module in computer system communicate with each other with the help of bus.The central processing unit is also connected to the rest of the system through system bus. Through system bus, data or information gets transferred between the CPU and the other components of the system. Here in this gate study material for computer science exam I am telling about three main types of buses that a system contains. These buses are

Data Bus: Data bus is generally used to transfer the data between main memory and central processing unit.
Address Bus: When the processor wants to fetch the data from memory then it puts the address on address bus.

For more information visit website http://www.computersciencejunction.in/

(1) (of 1 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 25
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.