Featured Post

80186 Microprocessors: Introduction and Architecture

Hello friends, today we are going to discuss the 80186 microprocessor with integrated peripherals. The Intel 80186 is an improved version of the 8086 microprocessor. 80186 is a 16-bit microprocessor with a 16-bit data bus and a 20-bit address bus. It has a programmable peripheral device integrated into the same package. The instruction set of the 80186 is a superset of the instruction set of the 8086. The term super-set means that all of the 8086 instructions will execute properly on an 80186, but the 80186 has a few additional instructions. The following figure shows the block diagram and pin diagram of 80186. The CPU is divided into seven independent functional parts. 80186 internal block diagram  80186 68-pins pin diagram  Functional parts of 80186 Microprocessor The Bus Interface Unit (BIU) Execution Unit (EU) Clock Generator Programmable interrupt controller Programmable Chip Select Unit (CSU) Programmable DMA Unit Programmable counter/timers The Bus Interface Unit

Types of Programming Languages:

The computer programs that run on a computer are called software.  Programmers write the instructions in various programming languages,

but computer can understand only one language called machine language and other languages that may require Intermediate translator to perform the conversion. The so many computer languages are use today and these languages may be divided into three category.
1.      Machine Language:  Any computer can directly understand its own language called machine language and is defined by its hardware design.  Machine languages generally consist of strings of numbers such as 0s and 1s, 0s is called cut the power and 1s is called power is available. These two codes (0s and 1s) are also called as binary code or binary number system. It is difficult task for a programmer to memorize the thousands of binary instruction.
2.      Assembly language: Machine Language is difficult to understand and writing a program in machine language is difficult that’s why assembly language is introduced. Many programmers write their programs in assembly language and then translate it to machine language by using translator called assembler. This translator is necessary because computer can understand only machine level language.. Assembly language uses two, three, or four-letter code called mnemonics to represent each instruction type.  Such as
LOAD BASEPAY:  Load the contents of BASEPAY in Accumulator register
ADD OVERPAY:  ADD the contents of OVERPAY with BASEPAY in Accumulator
STORE GROSSPAY: store the result in GROSSPAY

3.      High Level Language: Computer use increased rapidly with the advent of assembly languages, but programming still required many instructions to accomplish the simplest tasks. To speed the programming process, high-level languages were developed. The translator programs that convert high level language programs into machine language are called compilers. High level languages allow programmers to write instructions that are similar to everyday English and contain commonly used mathematical notations. A payroll program written in high level language as
Grosspay = basepay + overtimepay
BASIC, FORTRAN, Pascal, C++, Java, C# and Visual Basic .Net are the most powerful and most widely used high level programming languages.
The process of compiling a high-level language program into machine language can take a considerable amount of computer time. Interpreter programs were developed to execute high-level language programs directly, without the need for compiling them into machine language. Although compiled programs execute faster than interpreted programs, interpreters are popular in program-development environments, in which programs are recompiled frequently and errors are corrected. Scripting languages is processed by interpreters such languages are JavaScript, Jscript, and VBScript etc.

Comments