What do you mean by byte, Electrical Engineering

Assignment Help:

Q. What do you mean by Byte?

Without question, the most vital data structure used by the 80x86 microprocessor is the byte this is true since the ASCII code is a 7-bit non-weighted binary code that is used on the byte boundary in most computers and A byte consists of eight bits and is the smallest addressable datum (data item) in the microprocessor.

I/O addresses and Main memory in the PC are all byte addresses this means that the smallest item that can be individually accessed by an 80x86 program is an 8-bit value. To access anything smaller needs that you read the byte containing the data and mask out the unwanted bits.

The bits in the byte are numbered from bit zero (b0) through seven (b7) as follows:

b7

b6

b5

b4

b3

b2

b1

b0

A Bit 0 is the low order bit or least significant bit, bit 7 is the high order bit or most important bit of the byte. We'll refer to all other bits by their number.

A byte as well contains exactly two nibbles and Bits b0 through b3 comprise the low order nibble, and bits b4 through b7 form the high order nibble. Ever since a byte contains exactly two nibbles, byte values require two hexadecimal digits.

Ever since a byte contains eight bits, it can represent 2^8, or 256, different values. Generally, we'll use a byte to represent:

  1. unsigned numeric values in the range 0 => 255
  2. signed numbers in the range -128 => +127
  3. ASCII character codes
  4. Other special data types requiring not more than 256 different values. Many data types have less than 256 items so eight bits is usually sufficient.

Ever since the PC is a byte addressable machine, it turns out to be more efficient to manipulate a whole byte than an individual bit or nibble. Therefore, most programmers use a whole byte to represent data types that require no more than 256 items, even if fewer than eight bits would suffice. For illustration, we'll often represent the boolean values true and false by 00000001 and 00000000 (respectively).

Most likely the most important use for a byte is holding a character code. Characters typed at the keyboard displayed on the screen, and printed on the printer all have numeric values. To permit it to communicate with the rest of the world, the IBM PC uses a variant of the ASCII character set as there are 128 defined codes in the ASCII character set. IBM PC uses the remaining 128 possible values for extended character codes including European characters, Greek letters, graphic symbols, and math symbols.


Related Discussions:- What do you mean by byte

Conveyor, The FESTO conveyer consists of 600mm belt driven by a 24V d.c. mo...

The FESTO conveyer consists of 600mm belt driven by a 24V d.c. motor at a rate of 13 seconds per metre. A relay on the FESTO panel controls the motor operation and is wired for sou

What is the difference between photodiode and solar cell, A photodiode is m...

A photodiode is made to detect light quickly a solar cell is made to collect energy from light. They are both typically silicon diodes, but modified to meet their dissimilar requir

Designing of a 2 way cross-over circuit for loudspeaker, Loudspeakers using...

Loudspeakers using single driver are unable to cover the entire frequency band from low frequency to high frequency. Sometimes multiband frequency is required for the bass enhancem

Potentiometers , Which potentiometer do I need to control; 6v 2amps dc?

Which potentiometer do I need to control; 6v 2amps dc?

Static scherbius drive - motor control , Static  scherbius  Drive B...

Static  scherbius  Drive By using  this scheme, below and above  synchronous speed can be obtained for an induction motor. There are  two possible  configurations to obtain  s

Calculate the voltages that will be indicated by instrument, An electromech...

An electromechanical voltmeter with internal resistance of 1 k and an electronic voltmeter with internal resistance of 10 M are used separately to measure the potential differenc

Calculate the value of resistor, Calculate the value of resistor: 1.  ...

Calculate the value of resistor: 1.  What are the significant differences in the way ammeters and voltmeters are connected. If an ammeter reads 2.5 A for a period of 4 minutes

What are the modes used in keyboard modes, What are the modes used in keybo...

What are the modes used in keyboard modes? 1. Scanned Keyboard mode with 2 Key Lockout. 2. Scanned Keyboard particular Error Mode. 3. Scanned Keyboard with N-key Rollover

Define abcd propagation , ABCD propagation of an optical ray through a s...

ABCD propagation of an optical ray through a system can be described by a straightforward two by two  matrix. In ray optics, the feature of a system is known by the correspondin

Determine the maximum length, Q. If the line of Problem 15.1.3 is made of c...

Q. If the line of Problem 15.1.3 is made of copper whose resistivity ρ = 1.72×10 -8 ·m, determine the maximum length that can be used if losses are not to exceed 3 dB when f = 3

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd