Skip to main content

Microprocessor Instructions

Even the incredibly simple microprocessor shown in the previous example will have a fairly large set of instructions that it can perform. The collection of instructions is implemented as bit patterns, each one of which has a different meaning when loaded into the instruction register. Humans are not particularly good at remembering bit patterns, so a set of short words are defined to represent the different bit patterns. This collection of words is called the assembly language of the processor. An assembler can translate the words into their bit patterns very easily, and then the output of the assembler is placed in memory for the microprocessor to execute.

Here's the set of assembly language instructions that the designer might create for the simple microprocessor in our example:
  • LOADA mem - Load register A from memory address
  • LOADB mem - Load register B from memory address
  • CONB con - Load a constant value into register B
  • SAVEB mem - Save register B to memory address
  • SAVEC mem - Save register C to memory address
  • ADD - Add A and B and store the result in C
  • SUB - Subtract A and B and store the result in C
  • MUL - Multiply A and B and store the result in C
  • DIV - Divide A and B and store the result in C
  • COM - Compare A and B and store the result in test
  • JUMP addr - Jump to an address
  • JEQ addr - Jump, if equal, to address
  • JNEQ addr - Jump, if not equal, to address
  • JG addr - Jump, if greater than, to address
  • JGE addr - Jump, if greater than or equal, to address
  • JL addr - Jump, if less than, to address
  • JLE addr - Jump, if less than or equal, to address
  • STOP - Stop execution

Comments

Popular posts from this blog

Wired Equivalent Privacy

Wired Equivalent Privacy (WEP) is a security used in IEEE 802.11 wireless networks introduced in year Sep 1999, it was available on Router Configuration In WEP there are 2 Formats Hexadecimal ASCII

Installing A Printer

Go to Control Panel Click Printer Option Click Add a Printer Click Add Local Printer Select Port Select The Printer & click Next Click Next Installation Wizard Appears Now The Printer is Successfully Installed You can see your installed Printer icon in printer wizard in control panel

Intel Microprocessor History

List of the Microprocessors from Intel family from beggining Intel 4004 - 4 bit processors Intel 4040 Intel 8008 - 8 bit processors Intel 8080 Intel 8085 Intel 8048 - Microcontrollers Intel 8051 Intel 80151 Intel 80251 MCS 96 Family 3000 Familytect Intel 8086 - 16 bit Processors Intel 8088 Intel 80186 Intel 80188 Intel 80286 iAPX 432 - 32 bit Processors, non-x86 i960 aka 80960 i860 aka 80860 Xscale 80386DX - 32 bit processors 80386SX 80376 80386SL 80386EX 80486DX 80486SX 80486DX2 80486SL 80486DX4 Original Pentium - P5 micro-architecture Pentium with MMX Technology Pentium Pro - P6 / pentium M micro-architecture Pentium II Celeron (Pentium II-based) Pentium III Pentium II and III Xeon Celeron (Pentium III Coppermine-based) Celeron (Pentium III Tualatin-based) Pentium M Celeron M Intel Core Dual-Core Xeon LV Pentium 4 - NetBurst microarchitecture Xeon Mobile Pentium 4-M Pentium 4 EE Pentium 4E Pentium 4F Itanium - 64-bi...