数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STC89LE52RC 数据表(PDF) 133 Page - STCmicro Technology Co,.Ltd

部件名 STC89LE52RC
功能描述  Enhanced 80C51 Central Processing Unit ,6T or 12T per machine cycle
PDF  165 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STC [STCmicro Technology Co,.Ltd]
网页  http://www.stcmicro.com/
标志 STC - STCmicro Technology Co,.Ltd

STC89LE52RC 数据表(HTML) 133 Page - STCmicro Technology Co,.Ltd

Back Button STC89LE52RC Datasheet HTML 129Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 130Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 131Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 132Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 133Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 134Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 135Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 136Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 137Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 133 / 165 page
background image
Appendix A: Assembly Language Programming
INTRODUCTION
Assembly language is a computer language lying between the extremes of machine language and high-level
language like Pascal or C use words and statements that are easily understood by humans, although still a long
way from "natural" language.Machine language is the binary language of computers.A machine language program
is a series of binary bytes representing instructions the computer can execute.
Assembly language replaces the binary codes of machine language with easy to remember "mnemonics"that
facilitate programming.For example, an addition instruction in machine language might be represented by the
code "10110011".It might be represented in assembly language by the mnemonic "ADD".Programming with
mnemonics is obviously preferable to programming with binary codes.
Of course, this is not the whole story. Instructions operate on data, and the location of the data is specified by
various "addressing modes" emmbeded in the binary code of the machine language instruction. So, there may be
several variations of the ADD instruction, depending on what is added. The rules for specifying these variations
are central to the theme of assembly language programming.
An assembly language program is not executable by a computer. Once written, the program must undergo
translation to machine language. In the example above, the mnemonic "ADD" must be translated to the binary
code "10110011". Depending on the complexity of the programming environment, this translation may involve
one or more steps before an executable machine language program results. As a minimum, a program called an
"assembler" is required to translate the instruction mnemonics to machine language binary codes. Afurther step
may require a "linker" to combine portions of program from separate files and to set the address in memory at
which th program may execute. We begin with a few definitions.
An assembly language program i a program written using labels, mnemonics, and so on, in which each
statement corresponds to a machine instruction. Assembly language programs, often called source code or
symbolic code, cannot be executed by a computer.
A machine language program is a program containing binary codes that represent instructions to a computer.
Machine language programs, often called object code, are executable by a computer.
A assembler is a program that translate an assembly language program into a machine language program.
The machine language program (object code) may be in "absolute" form or in "relocatable" form. In the latter
case, "linking" is required to set the absolute address for execution.
A linker is a program that combines relocatable object programs (modules) and produces an absolute object
program that is executable by a computer. A linker is sometimes called a "linker/locator" to reflect its separate
functions of combining relocatable modules (linking) and setting the address for execution (locating).
A segment is a unit of code or data memory. A segment may be relocatable or absolute. A relocatable
segment has a name, type, and other attributes that allow the linker to combine it with other paritial segments,
if required, and to correctly locate the segment. An absolute segment has no name and cannot be combined with
other segments.
A module contains one or more segments or partial segments. A module has a name assigned by the user. The
module definitions determine the scope of local symbols. An object file contains one or more modules. A module
may be thought of as a "file" in many instances.
A program consists of a single absolute module, merging all absolute and relocatable segments from all input
modules. A program contains only the binary codes for instructions (with address and data constants) that are
understood by a computer.
133



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com