Showing posts with label Technology. Show all posts
Showing posts with label Technology. Show all posts

Tuesday, 9 May 2017

The 8086 Microprocessor Architecture

The 8086 Microprocessor  Architecture


            The Intel 8086 is a 16-bit microprocessor intended to be used as the CPU in a microcomputer. The term “16-bit” means that its arithmetic logic unit, internal registers, and most of its instructions are designed to work 16-bit binary words. It has 16-bit data bus and 20-bit address bus.
Words will be stored in two consecutive memory locations. If the first byte of a word is at an even address, the 8086 can read the entire word in one operation. If the first byte of the word is at an odd address, the 8086 will read the first byte in one operation, and the second byte in another operation.
Following figure shows the internal block diagram of 8086 microprocessor. 



image source : SlideShare
   
The 8086 CPU is divided into two independent functional parts, the bus interface unit or BIU, and the execution unit or EU. 

The Bus Interface Unit

The BIU handles all data and addresses on the buses for the execution unit such as it sends out addresses, fetches instructions from memory, reads data from ports and memory as well as writes data to ports and memory. In BIU there are so many functional groups or parts these are as follows.

Instruction Queue

To increase the execution speed, BIU fetches as many as six instruction bytes ahead to time from memory. The pre fetched instruction bytes are held for the EU in a first in first out group of registers called a instruction queue. When the EU is ready for its next instruction, it simply reads the instruction from this instruction queue. This is much faster than sending out an address to the system memory and to send back the next instruction byte. Fetching the next instruction while the current instruction executes is called pipelining.

Segment Registers

The BIU contains four 16-bit segment registers. They are: the extra segment (ES) register, the code segment (CS) registers, the data segment (DS) registers, and the stack segment (SS) registers. These segment registers are used to hold the upper 16 bits of the starting address for each of the segments. The part of a segment starting address stored in a segment register is often called the segment base.
1. Code Segment (CS): The CS register is used for addressing a memory location in the Code Segment of the memory, where the executable program is stored.
2. Data Segment (DS): The DS contains most data used by program. Data are accessed in the
Data Segment by an offset address or the content of other register that holds the offset address.
3. Stack Segment (SS): SS defined a section of memory to store addresses and data while a subprogram executes.
4. Extra Segment (ES): ES is additional data segment that is used by some of the string to hold the extra destination data.

 Instruction Pointer (IP)

In the BIU, the next register, below the segment register is instruction pointer. The instruction pointer (IP) holds the 16-bit address of the next code byte within this code segment.

The Execution Unit

The execution unit (EU) tells the BIU where to fetch instructions or data from, decodes instructions, and executes instructions.
The functional parts of the execution unit are control circuitry or system, instruction decoder, and Arithmetic logic unit (ALU).
Control circuitry to perform various internal operations. A decoder in the EU translates instructions fetched from memory to generate different internal or external control signals that required performing the operation. The EU has a 16-bit ALU, which can perform arithmetic operations such as add, subtract etc. and logical operations such as AND, OR, XOR, increment, decrement etc. 

Flag Register

A 16-bit flag register is a flip-flop which indicates some condition produced by the execution of an instruction or controls certain operations of the EU. They are modified automatically by CPU after mathematical operations. It has 9 flags and they are divided into two categories:
1. Conditional Flags
2. Control Flags

Conditional Flags

Conditional flags represent result of last arithmetic or logical instructions.
· Carry Flag (CF): This flag will be set to one if the arithmetic operation produces the carry in MSB position. It is also used in multiple-precision arithmetic.
· Auxiliary Flag (AF): If an operation performed in ALU generates a carry/barrow from lower nibble (i.e. D0 – D3) to upper nibble (i.e. D4 – D7), the AF flag is set i.e. carry given by D3 bit to D4 is AF flag. This is not a general-purpose flag; it is used internally by the processor to perform Binary to BCD conversion.
· Parity Flag (PF): This flag is used to indicate the parity of result. If lower order 8-bits of the result contains even number of 1’s, the Parity Flag is set to one and for odd number of 1’s, the Parity Flag is reset i.e. zero.
· Zero Flag (ZF): It is set to one; if the result of arithmetic or logical operation is zero else it is reset.
· Sign Flag (SF): In sign magnitude format the sign of number is indicated by MSB bit. If the result of operation is negative, sign flag is set to one.
· Overflow Flag (OF): It occurs when signed numbers are added or subtracted. An OF indicates that the result has exceeded the capacity of machine.
Control Flags
Control flags are intentionally set or reset to control certain operations of the processor with specific instructions put in the program from the user. Control
flags are as follows:
1. Trap Flag (TP): It is used for single step control. It allows user to execute one instruction of a program at a time for debugging. When trap flag is set, program can be run in single step mode.
2. Interrupt Flag (IF): It is an interrupt enable/disable flag, i.e. used to allow/prohibit the interruption of a program. If it is set, the maskable interrupt is enabled and if it is reset, the interrupt is disabled.
3. Direction Flag (DF): It is used in string operation. If it is set, string bytes are accessed from higher memory address to lower memory address. When it is reset, the string bytes are accessed from lower memory address to higher memory address.
8086 Flag Register Format

General Purpose Registers

The EU has eight general purpose registers labeled AH, AL, BH, BL, CH, CL, DH, and DL. These registers can be used individually for temporary storage of 8-bit data. The AL register is also called the accumulator. Certain pairs of these general purpose registers can be used together to store 16-bit data. The valid register pairs are AH and AL, BH and BL, CH and CL and DH and DL. These register pairs is referred to the AX, BX, CX, and DX resp. 

1. AX Register: For 16-bit operations, AX is called the accumulator register that stores operands for arithmetic operations. 

2. BX Register: This register is mainly used as a base register. It holds the starting base location of a memory region within a data segment.

3. CX Register: It is defined as a counter. It is primarily used in loop instruction to store loop counter.

4. DX Register: DX register is used to contain I/O port address for I/O instruction. 

Stack Pointer Register

The stack pointer (SP) register contains the 16-bit offset from the start of the segment to the memory location where a word was most recently stored on the stack. The memory location where a word was most recently stored is called the top of stack.
Other Pointer and Index Registers
The EU also contains a 16-bit source index (SI) register, base pointer (BP) registers, and Destination Index (DI) registers. These three registers can be mainly used for temporary storage of 16-bit data just like a general purpose registers.
Read More

Wednesday, 19 April 2017

The best things you have to see in samsung galaxy s8

The Best Things in Samsung galaxy s8

  •  Infinity Display
      The revolutionary design of the Galaxy S8 and S8+ begins from the inside out. We rethought every part of the phone's layout to break through the confines of the smartphone screen. So all you see is pure content and a discreet bezel. It's the biggest, most immersive screen on a mobile device of this size. It's also easy to hold in one hand..
           
          The regular Galaxy S8 will reportedly measure 148.9 x 68.1 x 8mm and feature a 5.8-inch, 2,960 x 1,440 AMOLED display, while the larger Galaxy S8+ will use a 6.2-inch screen with the same resolution. 
  • Camera 
            Capture life as it happens with the Galaxy S8 and S8+ cameras. The front camera has been improved with Smart Auto Focus so you’ll be able to take crisp, clear selfies in low light. The Smart Auto Focus tracks faces, so everyone in the shot will be in focus and the bright lens lets in more light in low light conditions.
             
            
Both the S8 and S8+ are expected to use a 12-megapixel rear camera and an 8-megapixel selfie camera.
  • Battery
            A 3,000mAh battery is rumoured to be powering the S8, with an enlarged 3,500mAh battery squeezed inside the S8+. Samsung has also made a big deal about its new eight-point battery safety process, which it hopes will be enough to help it regain consumers’ trust. 
  • Water resistence
The Galaxy S8 and S8+ are IP68 certified meaning they are both water* and dust resistant. Your phone can now keep up with your life, wherever you want to take it.
*Up to 1.5 meters depth for up to 30 minutes.
  • Fast charginng
With fast charging and wireless fast charging, the hassle of having to wait for hours for your phone to charge is a thing of the past. With wireless fast charging, it’s as easy as putting your phone down.*
*Wireless charging pad sold separately
  • Iris scanner
               Privacy is important so we’ve increased the protection, while still making it quick & easy to access your content. Unlock your phone quickly with iris scanning and facial recognition.       
  • Bixby(personal aaassistence)
           
One of the S8’s most notable features is Bixby, a new multilingual AI assistant users can launch through a dedicated button. 
                       Its smart interface makes interacting with your device and apps more intuitive and seamless. Bixby is easy to use and works with conversational English. It also completely changes the way you search. You don't even have to ask, just show Bixby what you want by opening your camera app. It's so incredibly easy.

Read More

Tuesday, 14 March 2017

TOP 5 MOBILES UNDER 10000 IN INDIA 2017

                   Top 5 MOBIES UNDER 10000 IN INDIA


If you’re looking for the best phone under Rs 10,000, here’s our list of best smartphones under Rs 10,000 in India for March 2017. We’ve seen some improvement in specs offered in the phones that have been launched recently. The mobile phones are ordered according to their price

  1. xiomi redmi note 4
        Xiaomi Redmi Note 4 is probably the best phone under 10000. The design all metallic which is beautifully crafted. The device sports  5.5-inch 1080P screen with sunlight display, reading mode, night display, and color temperature adjustment.

       Xiaomi Redmi Note 4 runs on Android Marshmallow 6.0.1 with its own MIUI 8 custom skin.The phone packs a Qualcomm Snapdragon 625 Octa-core processor with Adreno 506 GPU. Snapdragon 625 chipset is one of the power efficient chipsets from Qualcomm.

       It loads a 2 GB of RAM with 32 GB of onboard storage and has 128 GB expandable storage. There are the two variants as well, 3 GB RAM with 32 GB storage and 4 GB RAM with 64 GB of storage. The Redmi Note 4 features a fingerprint sensor with 0.3 seconds unlocking functionality.

 The smartphone shoots a 13-megapixel primary camera with 0.1s ultra fast PDAF, dual LED flash, and 1080P video recording. On the front, it has 5-megapixel selfie camera which captures really good selfies.
 The Redmi Note 4 (4 GB RAM Edition) makes into the list of best android phones under   



     Key Specs


  •   5.5 inch Full HD screen
  • Android Marshmallow 6.0.1 on MIUI 8
  • Snapdragon 625 Octa-core Processor
  • 13 MP Rear Camera with LED Flash
  • 5 MP selfie camera
  • 32GB/64 ROM
  • 128 GB expandabl
  • 2GB/3GB/4GB RAM
  • 4100 mAh battery
  • Fingerprint sensor
  • 4G with VoLTE


       2.Swipe Elite Max
           
                   Swipe Elite Max is the best phone under 10000 from Swipe. After the successful launch of Elite Plus, the company has launched the Elite Max with impressive specs. We personally recommend Swipe smartphones as they generally perform well. Swipe is an Indian brand which is doing quite well by launching affordable smartphones. Talking about Swipe Elite Max, it comes with a 5.5-Inch 1080P IPS display which is decent and sharp. The design is glossy on the back which looks brilliant and probably the most stylish looking smartphone under 10000. The build quality is impressive with metal all around the edges.

                 There is a 13-megapixel rear camera with LED flash and 8-megapixel front camera. Both rear and front camera are just average in my opinion. The smartphone houses 3000 mAh battery with Qualcomm Quick Charge support. The company claims up to 5.5 hours of usage on 10 minutes of charge. Swipe Elite Max supports 4G VoLTE which works with Reliance Jio. The Elite Max is worth every penny if you are looking for a mobile with premium design and hardcore performance.


Key spec
  •  5.5-inch 1080P Full HD IPS display
  •  Android Marshmallow 6.0 with Freedom OS
  •  1.4 GHz Snapdragon 430 Octa-core Processor
  •  13 MP Rear Camera with LED Flash
  •  8 MP selfie camera
  •  32 GB ROM
  • 128 GB expandable
  •  4 GB RAM
  • 3000 mAh battery
  •  Fingerprint sensor
  • 4G VoLTE




   3.LeEco Le 1S Eco

              LeEco Le 1S  Eco is probably the best phone under 10000 with premium built quality. It has all the ingredients of a high-end budget smartphone. Le 1S is the first successful device from LeEco which was launched in India. It has crossed over 2 lakhs sales within few months. The design seems to be inspired from iPhone 6 and the built quality is top-notch. It has that premium aluminum body which feels like a high-end flagship model.

              Le 1S Eco sports a 5.5 inch Full HD display with Corning Gorilla Glass 3 on top. The display is clean but lacks visibility during daylight. The phone features an Android Lollipop 5.1 with its own custom skin EUI. The EUI design is again inspired from IOS which is unpolished. It is powered by a MediaTek Helio X10 Turbo MT6795T octa-core chipset clocked at 2.2 GHz. The device packs 3 GB of RAM where the RAM management isn’t that great. LeEco Le 1s is loaded with 32 GB of internal storage and skips external storage.


Key Specs

  • 5.5 inch Full HD screen
  • Android Lollipop 5.1 on EUI
  • 2.2 GHz MediaTek Helio X10 Turbo MT6795T octa core processor
  • 13 MP Rear Camera with LED Flash
  • 5 MP selfie camera
  • 32 GB ROM
  • No expandable storage
  • 3 GB RAM
  • 3000 mAh battery
  • Fingerprint sensor
  • IR blaster
  • 4G LTE
    4.Xiaomi Redmi 3S Prime

            Xiaomi is the list again with Redmi 3S prime which is probably the best budget smartphone going around. The design is inspired by Xiaomi Redmi note 3 which tops the lists. The Redmi 3S Prime runs on the latest Android Marshmallow 6.0 with MIUI 8. The latest custom MIUI 8 ROM looks clean and well optimized. It is powered by a Qualcomm Snapdragon 430 octa-core processor with Adreno 505 GPU. The chipset is powerful and performs with ease. Xiaomi Redmi 3S Prime boasts 3 GB of RAM which makes it even more powerful

             The Redmi 3S Prime has 32 GB of internal storage and expandable up to 128 GB. So you will have enough storage for everyday use. The device sports 13-megapixel rear camera with 5P lens, f/2.0 aperture, and Ultra-Fast 0.1s PDAF technology.


key spec


  • 5-inch 720P HD display
  • Android Marshmallow on MIUI 8
  • Snapdragon 430 Octa-core Processor
  • 13 MP Rear Camera with LED Flash
  • 5 MP selfie camera
  • 32 GB ROM
  • 128 GB expandable
  • 3 GB RAM
  • 4100 mAh battery
  • Fingerprint sensor
  • 4G with VoLTE

     5.Lenovo Vibe K5 Plus
       
               Lenovo is dominating the budget smartphone segment with numerous devices launching in India. Lenovo Vibe K5 Plus looks promising and performs decently. The phone has a 5-inch 1080P  IPS display which looks good and has decent viewing angles. The build quality is impressive and has an aluminum body on the back. The handset is the rip-off of LeEco Le 1s which has exactly the same design as Vibe K5 plus.

                It is powered by a Qualcomm Snapdragon 616 octa-core processor with Adreno 405. The performance is smooth and gaming is excellent on this device. If you are a hardcore gamer then Vibe K5 Plus is worth every penny. On addition to this, it has 3 GB of RAM and 16 GB of internal storage. Further, it can be expandable up to 128 GB via MicroSD card.

                The Vibe K5 Plus offers a 13-megapixel rear camera with LED flash and 5P lens
 The surprising part is the battery performance, even though it has only 2750 mAh battery the battery life is just amazing.



Key Specs

  • 5-inch 1080P Full HD IPS display
  • Android Marshmallow 6.0
  • Snapdragon 615 octa-core chipset
  • 13 MP Rear Camera with LED Flash
  • 5 MP selfie camera with selfie mode
  • 16 GB ROM
  • 128 GB expandable storage
  • 3 GB RAM
  • 2750 mAh battery
  • Dolby Atmos
  • 4G LTE
like and comment  below for any enquiries and share on social medi thank you ;) 





Read More