Preview

Assembly language vs. Mechanical language

Better Essays
Open Document
Open Document
2002 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Assembly language vs. Mechanical language
Assembly language can execute the same commands as machine language; however, the commands have names instead of numbers. Assembly language, unlike machine language, is a symbolic representation of operation codes, symbolic memory addresses and pseudo codes, which makes the virtual environment user friendly. Machine language, on the other hand, is represented as binary bits consisting of a string of 0s and 1s, which makes the virtual world challenging since the lingo is only comprehended primarily by computers. Therefore, assembly language is considered more user friendly than machine language.
Assembly language enables programmers to relate op codes using symbolic names in place of numbers to perform an instruction or input a piece of data. Programmers can inscribe op codes using purposeful words like JUMP, CLEAR, and ADD as an alternative to cryptic binary codes consisting of series of 0s and 1s. An example of assembly language, machine language and its meaning are listed in the book called, “Invitation to Computer Science” (Schneider & Gersting, 2013, pp. 285, fig. 6.5). In figure 6.5, assembly language is clearly easier to comprehend than machine language, which makes assembly language user friendly.
In addition, assembly language allows programmers to utilize symbolic addresses to replace numeric memory addresses in binary bits to execute a command or input data. Computer specialist can link symbolic labels to an instruction or piece of data in the program. In other words, the symbolic label turns into a permanent tag for the instruction or piece of data disregarding where it populates in the program or where it relocates in the memory. However, machine language is more complicated. To perform an instruction or input data in the memory in a specific location, the computer specialist must specify the direct address. For example, “In machine language, to jump to the instruction stored in memory location 18, you must specify directly to address 18 (write JUMP



References: Larson, A. (1999, July 12). Global Security Servey: Virus Attack. Information Week, http://www.informationweek.com/743/security.htm Perlroth, N. (2012, October 23). In Cyberattack on Saudi Firm, U.S. Sees Iran Firing Back. New York Times, http://www.nytimes.com/2012/10/24/business/global/cyberattack-on-saudi-oil-firm-disquiets-us.html?pagewanted=all&_r=0 Perlroth, N. (2013, January 30). Hackers in China Attacked The Times for Last 4 Months. New York Times, http://www.nytimes.com/2013/01/31/technology/chinese-hackers-infiltrate-new-york-times-computers.html?pagewanted=all Schneider, G.M. & Gersting, J.L., (2013). Invitation to Computer Science. (6th ed.). Boston, Ma: press

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. What is an instruction? – A sequence of bits understood by the processor to signal a certain action…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Homework Week 2

    • 743 Words
    • 3 Pages

    Machine code it the language that the computer understands. High level languages are better because they are easier to understand and work with.…

    • 743 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Inch and Lt

    • 1077 Words
    • 5 Pages

    A: The machine code is the language which the computer hardware understands and executes. It is preferable to write programs in a high level language such as C ++ because it is much easier to understand and learn this machine language.…

    • 1077 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    •Name and describe the only language that computers understand and explain how the instructions that people write for computers get into that form…

    • 322 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    To apply the stored-program concept, central processing unit (CPUs) are designed to recognize instructions encoded as bit patterns. This collection of instructions along with the encoding system is called the machine language. An instruction expressed in this language is called a machine-level instruction or, more commonly, a machine instruction.…

    • 458 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Copyright © 2012 Pearson Education, Inc. 0-5 Terminology • Machine instruction: An instruction (or command) encoded as a bit pattern d) d d tt recognizable by the CPU • Machine language: The set of all instructions recognized by a machine Copyright © 2012 Pearson Education, Inc. 0-6 3 Machine Language Philosophies • Reduced Instruction Set Computing (RISC) – Few, simple, efficient, and fast instructions – Examples: PowerPC from Apple/IBM/Motorola and ARM • Complex Instruction Set Computing (CISC) –…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Computer Architect

    • 744 Words
    • 3 Pages

    Instruction address calculation (iac): Determine the address of the next instruction to be executed. Instruction fetch (if): Read instruction from its memory location into the processor. Instruction operation decoding (iod): Analyze instruction to determine type of operation to be performed and operand(s) to be used. Operand address calculation (oac): If the operation involves reference to an operand in memory or available via I/O, then determine the address of the operand. Operand fetch (of): Fetch the operand from memory or read it in from I/O. Data operation (do): Perform the operation indicated in the instruction. Operand store (os): Write the result into memory or out to I/O.…

    • 744 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    MIPS assembly language

    • 610 Words
    • 3 Pages

    The following is a MIPS assembly language implementation of the for-loop assuming that $3, $4, and $5 are used to store i, j, and k, respectively.…

    • 610 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    ; stdcall procedure names must be be also decorated by "@" and size of arguments at the end…

    • 701 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Cyber Terrorism

    • 1710 Words
    • 7 Pages

    Cited: Kosovo cyber war intensifies: Chinese hackers targeting U.S. sites. CNN. www.cnn.com/TECH/computing/9905/12/cyberwar.idg/. 1999 May 12.…

    • 1710 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    example and include in your discussion, the role played by different registers like the program…

    • 424 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    8 .NET Generic What is an Assembly? An assembly is described as logical unit, which can…

    • 2532 Words
    • 11 Pages
    Satisfactory Essays
  • Powerful Essays

    Microprocessor

    • 9724 Words
    • 39 Pages

    AIM: To write an Assembly Language Program (ALP) for performing the addition and subtraction operation of two byte numbers. APPARATUS REQUIRED: SL.NO ITEM 1. Microprocessor kit 2. Power Supply SPECIFICATION 8086 kit +5 V dc QUANTITY 1 1…

    • 9724 Words
    • 39 Pages
    Powerful Essays
  • Satisfactory Essays

    Identifier table –contans all veriables in the program and temparary storage and any information needed to reference or allocate storage of them ;created by lexical analysis,modified by interpretation and storage allocation,and referenced by code generation and assembly.the table may also cotains information of all temparary locations that the compailer creates for use during execution of the source program…

    • 396 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    8085 microprocessor

    • 9441 Words
    • 38 Pages

    EE 201 : Digital Circuits and Microprocessors Dr. Amit Sethi Room 303, EEE Dept. 2529, amitsethi Objectives for this session Introduce the 8085 Microprocessor Introduction to 8085 programming model Introduction to 8085 instruction set All computers are based on the Turing Machine concept • In 1937, Alan Turing described this abstract idea of a computer • Turing Machines consist of: – A tape of infinite length with symbols printed in cells – A read-write head that can move along the tape to read and write symbols – A state from a finite set stored inside the machine – A finite set of instructions that translate the current state and the read symbol into an action which can be: • Change to another state • Move to another place on the tape • Write a symbol on the tape Computer: Basic definitions • Computer is a machine that sequentially and automatically carries out a sequence of arithmetic or logical operations given as instructions in form of a program, which can be changed readily, allowing the computer to solve more than one kind of problem • Data and programs can be read from memories, storage or input devices • Data can be written into memory, storage and output devices Computer components: Memory • Write: An arbitrary word can be written into the memory • Store: Memory can store data (multiple words) • Read: An arbitrary word can be read from the memory for usage • Examples so far – Data latches are 1-bit memories – Registers are 1-word (e.g. 1-byte) memories • But, we want to study bigger memories Each bit of a memory is a latch I1 2n lines out DECODER n-bit address in bit Lx EN D ……

    • 9441 Words
    • 38 Pages
    Satisfactory Essays