亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? assembler

?? unix v7是最后一個廣泛發布的研究型UNIX版本
??
?? 第 1 頁 / 共 2 頁
字號:
.\"tbl ... ^ [tn]roff -ms.hc %.TLAssembler Reference Manual.AUDennis M. Ritchie.AI.MH.SH0.  Introduction.PPThis document describes the usage and input syntaxof the \s8UNIX PDP\s10-11 assembler \fIas\fP.The detailsof the \s8PDP\s10-11 are not described..PPThe input syntax of the \s8UNIX\s10 assembler is generallysimilar to that of the \s8DEC\s10 assembler \s8PAL\s10-11\s8R\s10, althoughits internal workings and output formatare unrelated.It may be useful to read the publication \s8DEC\s10-11-\s8ASDB\s10-\s8D\s10,which describes \s8PAL\s10-11\s8R\s10, although naturallyone must use care in assuming that its rules applyto \fIas\fP..PP\fIAs\fP is a rather ordinary assembler withoutmacro capabilities.It produces an output file that containsrelocation information and a completesymbol table;thus the output is acceptable to the \s8UNIX\s10 link-editor\fIld\fP, whichmay be used to combine the outputs of severalassembler runs and to obtainobject programs from libraries.The output format has been designedso that if a program contains no unresolvedref%er%ences to external symbols, it is executablewithout further processing..SH1.  Usage.PP\fIas\fP is used as follows:.DSas \fR[\fB \-u \fR] [ \fB\-o \fIoutput\fR ] \fIfile\s6\d1\u\s10 .\|.\|..DEIf the optional ``\-u'' argument isgiven, all undefined symbolsin the current assembly will be made undefined-external.See the \fB.globl\fR directive below..PPThe other arguments name fileswhich are concatenated and assembled.Thus programs may be written in severalpieces and assembled together..PPThe output of the assembler is by default placed onthe file \fIa.out\fR in the current directory;the ``\-o'' flag causes the output to be placed on the named file.If there were no unresolvedexternal ref%er%ences, and no errors detected,the output file is marked executable; otherwise, if it isproduced at all, it is made non-executable..SH2.  Lexical conventions.PPAssembler tokens include identifiers (alternatively, ``symbols'' or ``names''),temporary symbols,constants, and operators..SH2.1  Identifiers.PPAn identifier consists of a sequence of alphanumeric characters (includingperiod ``\|\fB.\fR\|'', underscore ``\(ul'',and tilde ``~''as alphanumeric)of which the first may notbe numeric.Only the first eight characters are significant.When a name begins with a tilde, the tilde is discardedand that occurrence of the identifier generatesa unique entry in the symbol table which can matchno other occurrence of the identifier.This feature is usedby the C compiler to place names of local variablesin the output symbol tablewithout having to worryabout making them unique..SH2.2  Temporary symbols.PPA temporary symbol consists of a digit followed by ``f\|'' or``b''.Temporary symbols are discussed fully in \(sc5.1..SH2.3  Constants.PPAn octal constant consists of a sequence of digits; ``8'' and``9'' are taken to have octal value 10 and 11.The constantis truncated to 16 bits and interpreted in two's complementnotation..PPA decimal constant consists of a sequence of digits terminatedby a decimal point ``\fB.\fR''.  The magnitude of the constant should berepresentable in 15 bits; i.e., be less than 32,768..PPA single-character constant consists of a single quote ``\|\(fm\|''followed by an \s8ASCII\s10 character not a new-line.Certain dual-character escape sequencesare acceptable in place of the \s8ASCII\s10 character to representnew-line and other non-graphics (see \fIString state%ments\fP, \(sc5.5).The constant's value has the code for thegiven character in the least significantbyte of the word and is null-padded on the left..PPA double-character constant consists of a doublequote ``\|"\|'' followed by a pair of \s8ASCII\s10 charactersnot including new-line.Certain dual-character escape sequences are acceptablein place of either of the \s8ASCII\s10 charactersto represent new-line and other non-graphics(see \fIString state%ments\fR, \(sc5.5).The constant's value has the code for the firstgiven character in the least significantbyte and that for the second character inthe most significant byte..SH2.4  Operators.PPThere are several single- and double-characteroperators; see \(sc6..SH2.5  Blanks.PPBlank and tab charactersmay be interspersed freely between tokens, but maynot be used within tokens (except character constants).A blank or tab is required to separate adjacentidentifiers or constants not otherwise separated..SH2.6  Comments.PPThe character ``\|/\|'' introduces a comment, which extendsthrough the end of the line on which it appears.Comments are ignored by the assembler..SH3.  Segments.PPAssembled code and datafall into three segments: the text segment, the data segment, and the bss segment.The text segment is the one in which the assembler begins,and it is the one into which instructions are typically placed.The \s8UNIX\s10 system will, if desired,enforce the purity of the text segment of programs bytrapping write operationsinto it.Object programs produced by the assembler must be processedby the link-editor \fIld\fR(using its ``\-n'' flag)if the text segment is to be write-protected.A single copy of the textsegment is shared among all processesexecuting such a program..PPThe data segment is available for placingdata or instructions whichwill be modified during execution.Anything which may go in the text segment may be putinto the data segment.In programs with write-protected, sharable text segments,data segment contains the initialized but variableparts of a program.If the text segment is not pure, the data segment beginsimmediately after thetext segment;if the text segment is pure, the data segment begins at the lowest8K byte boundary after the text segment..PPThe bss segment may not contain any explicitly initialized codeor data.The length of the bss segment (like that of text or data)is determined by the high-water mark of the location counterwithin it.The bss segment is actually an extension ofthe data segment and begins immediately after it.At the start of execution of a program, the bss segmentis set to 0.Typically the bss segment is set upby state%ments exemplified by.DSlab\fB: .\fR = \fB.\fR+10.DEThe advantage in using the bss segmentfor storage that starts off empty is that the initializationinformation need not be stored in the output file.See also \fILocation counter\fP and \fIAssignment state%ments\fPbelow..SH4.  The location counter.PPOne special symbol, ``\|\fB.\fP\|'', is the location counter.Its value at any time is the offsetwithin the appropriate segment of the start ofthe state%ment in which it appears.The location counter may be assigned to,with the restriction that thecurrent segment may not change;furthermore,the value of ``\|\fB.\fP\|'' may not decrease.If the effect of the assignment is to increase the value of ``\|\fB.\fP\|'',the required number of null bytes are generated(but see \fISegments\fP above)..SH5.  Statements.PPA source program is composed of a sequence of\fIstate%ments\fP.Statements are separated either by new-linesor by semicolons.There are five kinds of state%ments: null state%ments,expression state%ments, assignment state%ments,string state%ments,and keyword state%ments..PPAny kind of state%ment may be preceded byone or more labels..SH5.1  Labels.PPThere are two kinds of label:name labels and numeric labels.A name label consists of a name followedby a colon (\|:\|).The effect of a name label is to assign the currentvalue and type of the location counter ``\|\fB.\fP\|''to the name.An error is indicated in pass 1 if thename is already defined;an error is indicated in pass 2 if the ``\|\fB.\fP\|''value assigned changes the definitionof the label..PPA numeric label consists of a digit \fI0\fR to \fI9\fR followed by a colon (\|:\|).Such a label serves to define temporarysymbols of the form ``\fIn\fR\|b'' and ``\fIn\fR\|f\|'', where \fIn\fR isthe digit of the label.As in the case of name labels, a numeric label assignsthe current value and type of ``\|\fB.\fP\|'' to the temporarysymbol.However, several numeric labels with the samedigit may be used within the same assembly.Ref%er%ences of the form ``\fIn\fR\|f\|'' refer to the firstnumeric label ``\fIn\|\fR:'' \fIf\fR\|orward from the ref%er%ence;``\fIn\|\fRb'' symbols refer to the first ``\fIn\|\fR\|:'' label\fIb\|\fRackward from the ref%er%ence.This sort of temporary label was introduced by Knuth[\fIThe Art of Computer Programming, Vol I: Fundamental Algorithms\|\fR].Such labels tend to conserve both the symbol tablespace of the assembler and theinventive powers of the programmer..SH5.2  Null state%ments.PPA null state%ment is an empty state%ment (which may, however,have labels).A null state%ment is ignored by the assembler.Common examples of null state%ments are emptylines or lines containing only a label..SH5.3  Expression state%ments.PPAn expression state%ment consists of an arithmeticexpression not beginning witha keyword.The assembler computes its (16-bit) valueand places it in the output stream, together with theappropriate relocation bits..SH5.4  Assignment state%ments.PPAn assignment state%ment consists of an identifier, an equals sign (\|=\|),and an expression.The value and type of the expression are assigned tothe identifier.It is not required that the type or value bethe same in pass 2 as in pass 1, nor is it anerror to redefine any symbol by assignment..PPAny external attribute of the expression is lost acrossan assignment.This means that it is not possible to declare a globalsymbol by assigning to it, and that it is impossibleto define a symbol to be offset from a non-locallydefined global symbol..PPAs mentioned,it is permissible to assign to thelocation counter ``\|\fB.\fP\|''.It is required, however, that the type ofthe expression assigned be of the same typeas ``\|\fB.\fP\|'',and it is forbidden to decrease the valueof ``\fB\|.\|\fR''.In practice, the most common assignment to ``\|\fB.\fP\|'' has the form``.\|=\|.\|+\|\fIn\fR''for some number \fIn;\fR this has the effect of generating\fIn\fR null bytes..SH5.5  String state%ments.PPA string state%ment generates a sequence of bytes containing \s8ASCII\s10 characters.A string state%ment consists of a left string quote ``<''followed by a sequence of \s8ASCII\s10 characters not including newline,followed by a right string quote ``>''.Any of the \s8ASCII\s10 characters maybe replaced by a two-character escape sequence to representcertain non-graphic characters, as follows:.DS C.TSl l l.\en	\s8NL\s10	(012)\es	\s8SP\s10	(040)\et	\s8HT\s10	(011)\ee	\s8EOT\s10	(004)\e0	\s8NUL\s10	(000)\er	\s8CR\s10	(015)\ea	\s8ACK\s10	(006)\ep	\s8PFX\s10	(033)\e\e	\e\e>	>.TE.DEThe last two are included so that the escape characterand the right string quote may be represented.The same escape sequencesmay also be used within single- and double-characterconstants (see \(sc2.3 above)..SH5.6  Keyword state%ments.PPKeyword state%ments are numerically the most common type,since most machine instructions are of thissort.A keyword state%ment begins with one of the many predefinedkeywords of the assembler;the syntax of the remainder dependson the keyword.All the keywords are listed below with the syntax they require..SH6.  Expressions.PPAn expression is a sequence of symbols representing a value.Its constituents are identifiers, constants, temporary symbols,operators, and brackets.Each expression has a type..PPAll operators in expressions are fundamentally binary innature; if an operand is missing on the left, a 0of absolute type is assumed.Arithmeticis two's complement and has 16 bits of precision.All operators have equal precedence, and expressionsare evaluatedstrictly left to right except for the effectof brackets..SH6.1  Expression operators.PPThe operators are:.IP (blank) 8when there is no operand betweenoperands, the effect isexactly the same as if a ``+'' had appeared..pg.ti 0.IP + 8addition.IP \- 8subtraction.IP * 8multiplication.IP \e\(sl 8division (note that plain ``\|/\|'' starts a comment).IP 8 & 8bitwise \fBand\fR.IP \(bv 8bitwise \fBor\fR.IP \e> 8logical right shift.IP \\e< 8logical left shift.hc.IP % 8modulo.IP ! 8.hc %\fIa\fR\|!\|\fIb\fR is \fIa \fBor \fR(\|\fBnot \fIb\fR\|);i.e., the \fBor\fR of the first operand andthe one's complement of the second; most common use isas a unary..IP ^ 8result has the value of first operand and the type of the second;most often used to define new machine instructionswith syntax identical to existing instructions..PPExpressions may be grouped by use of square brackets ``\|[\|\|]\|''.(Round parentheses are reserved for address modes.).SH6.2  Types.PPThe assembler deals with a number of typesof expressions.  Most typesare attached to keywords and used to select theroutine which treats that keyword.  The types likelyto be met explicitly are:.IP undefined 8.brUpon first encounter, each symbol is undefined.It may become undefined if it is assigned an undefined expression.It is an error to attempt to assemble an undefinedexpression in pass 2; in pass 1, it is not (except thatcertain keywords require operands which are not undefined)..IP "undefined external" 8.brA symbol which is declared \fB.globl\fR but not definedin the current assembly is an undefinedexternal.If such a symbol is declared, the link editor \fIld\fRmust be used to load the assembler's output withanother routine that defines the undefined ref%er%ence..IP absolute 8An absolute symbol is defined ultimately from a constant.Its value is unaffected by any possible future applicationsof the link-editor to the output file..IP text 8The value of a text symbol is measuredwith respect to the beginning of the text segment of the program.If the assembler output is link-edited, its textsymbols may change in valuesince the program neednot be the first in the link editor's output.Most text symbols are defined by appearing as labels.At the start of an assembly, the value of ``\|\fB.\fP\|'' is text 0..IP data 8The value of a data symbol is measuredwith respect to the origin of the data segment of a program.Like text symbols, the value of a data symbol may changeduring a subsequent link-editor run since previouslyloaded programs may have data segments.After the first \fB.data\fR state%ment, the value of ``\|\fB.\fP\|''is data 0..IP bss 8The value of a bss symbol is measured fromthe beginning of the bss segment of a program.Like text and data symbols, the value of a bss symbolmay change during a subsequent link-editorrun, since previously loaded programs may have bss segments.After the first \fB.bss\fR state%ment, the value of ``\|\fB.\fP\|'' is bss 0..IP "external absolute, text, data, or bss" 8.brsymbols declared \fB.globl\fRbut defined within an assembly as absolute, text, data, or bsssymbols may be used exactly as if they were notdeclared \fB.globl\fR; however, their value and type are availableto the link editor so that the program may be loaded with othersthat ref%er%ence these symbols..IP register 8.brThe symbols.DS\fBr0\fR  .\|.\|. \fBr5fr0\fR  .\|.\|. \fBfr5sppc.DEare predefinedas register symbols.Either they or symbols defined from them mustbe used to refer to the six general-purpose,six floating-point, andthe 2 special-purpose machine registers.The behavior of the floating register namesis identical to that of the correspondinggeneral register names; the formerare provided as a mnemonic aid..IP "other types" 8.brEach keyword known to the assembler has a type whichis used to select the routine which processesthe associated keyword state%ment.The behavior of such symbolswhen not used as keywords is the same as if they were absolute..SH6.3  Type propagation in expressions.PPWhen operands are combined by expression operators,the result has a type which depends on the typesof the operands and on the operator.The rules involved are complex to state butwere intended to be sensible and predictable.For purposes of expression evaluation theimportant types are.DS

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩久久99精品久久久久久夜| 欧美色图激情小说| youjizz久久| 欧美图区在线视频| 91精品福利在线一区二区三区| 精品理论电影在线观看| 亚洲色图.com| 精品亚洲国产成人av制服丝袜| 成人国产精品视频| 欧美乱妇15p| 2014亚洲片线观看视频免费| 亚洲婷婷综合久久一本伊一区| 一区二区三区中文字幕电影 | 国产高清精品久久久久| 97aⅴ精品视频一二三区| 在线观看免费视频综合| 色婷婷狠狠综合| 久久久久国产精品人| 亚洲sss视频在线视频| 成人自拍视频在线观看| 91精品国产手机| 亚洲日本va午夜在线影院| 韩国中文字幕2020精品| 欧美色区777第一页| 国产精品欧美一级免费| 久久99精品久久久久婷婷| 日本高清免费不卡视频| 国产精品对白交换视频| 奇米色一区二区| 91豆麻精品91久久久久久| 国产精品美女久久久久久久网站| 久久精品国产免费| 欧美日韩在线免费视频| 日韩一区在线免费观看| 国产成人在线网站| 精品三级在线看| 日韩av一区二区三区四区| 色狠狠桃花综合| 亚洲天堂福利av| 成人综合婷婷国产精品久久蜜臀| 久久综合av免费| 极品少妇一区二区三区精品视频 | 亚洲永久免费视频| 国产激情视频一区二区在线观看| 精品人在线二区三区| 日本亚洲三级在线| 欧美日韩久久久| 亚洲第一成年网| 欧美精品在线观看播放| 亚洲国产精品久久久久婷婷884 | 91久久免费观看| 一区精品在线播放| 国产精品一区二区视频| 欧美r级在线观看| 蜜臀av性久久久久蜜臀aⅴ| 欧美日韩一区精品| 午夜国产精品影院在线观看| 欧美色图免费看| 日本sm残虐另类| 日韩一区二区三区视频在线观看 | 国产精品国产成人国产三级| 成人精品小蝌蚪| 亚洲欧美一区二区三区国产精品| 色综合色综合色综合色综合色综合| 最新中文字幕一区二区三区 | 丁香激情综合五月| 亚洲视频一区二区在线| 在线精品视频小说1| 亚洲成人动漫在线免费观看| 日韩欧美激情一区| 国产suv精品一区二区三区| 国产精品久久久久影视| 91九色02白丝porn| 日韩国产精品久久久久久亚洲| 欧美va亚洲va香蕉在线| 不卡在线视频中文字幕| 亚洲综合久久久久| 日韩欧美久久久| 99久久久国产精品| 亚洲a一区二区| 久久无码av三级| 色狠狠一区二区| 久久国产精品露脸对白| 欧美成人video| 99久久er热在这里只有精品66| 一区二区视频在线| 91成人免费在线视频| 青青草国产精品97视觉盛宴| 亚洲国产成人私人影院tom| 欧美精品日日鲁夜夜添| 成人午夜私人影院| 五月天国产精品| 国产精品国产馆在线真实露脸 | 国产91精品露脸国语对白| 亚洲综合在线五月| 久久久蜜桃精品| 欧美三级日韩在线| 国产福利一区二区| 午夜国产精品影院在线观看| 国产精品天天摸av网| 日韩欧美成人激情| 色综合久久久久久久久久久| 久久99精品久久久久久动态图| 一区二区三区四区五区视频在线观看| 日韩丝袜情趣美女图片| 在线视频综合导航| 国产精品白丝av| 美国十次了思思久久精品导航| 亚洲激情五月婷婷| 久久久99精品久久| 88在线观看91蜜桃国自产| 国产米奇在线777精品观看| 亚洲欧洲av在线| 国产日产亚洲精品系列| 日韩一二三四区| 在线不卡一区二区| 91国产视频在线观看| fc2成人免费人成在线观看播放 | 欧美大胆人体bbbb| 国产大片一区二区| 日韩vs国产vs欧美| 亚洲欧美日韩一区二区三区在线观看| 精品国产成人系列| 日韩欧美成人午夜| 日韩一级视频免费观看在线| 在线成人av影院| 91精品欧美久久久久久动漫| 欧美三级日韩三级| 欧美午夜精品久久久久久超碰| 91小宝寻花一区二区三区| 成人午夜电影久久影院| 成人午夜视频在线| 成人av先锋影音| 懂色av中文一区二区三区| 国产美女av一区二区三区| 国产一区二区在线影院| 国产麻豆精品在线观看| 国产精品乡下勾搭老头1| 国产成人在线观看免费网站| 国产精品91xxx| 日本女人一区二区三区| 一区二区中文字幕在线| 中文字幕日本乱码精品影院| 亚洲欧美另类综合偷拍| 亚洲欧美日韩成人高清在线一区| 久久九九久久九九| 久久精品日韩一区二区三区| 欧美亚洲另类激情小说| 制服丝袜成人动漫| 久久综合久色欧美综合狠狠| 国产午夜亚洲精品理论片色戒| 国产精品欧美一区二区三区| 亚洲精品欧美在线| 男人的天堂亚洲一区| 国内精品写真在线观看| 成人性生交大片免费看在线播放| 成人激情综合网站| 欧美亚洲综合另类| 日韩欧美一区二区不卡| 国产日韩欧美电影| 亚洲黄色免费电影| 美女性感视频久久| 久久99精品网久久| 国产精品99久久久久久宅男| 国产精品正在播放| 91国产福利在线| 欧美精品一区二区三区蜜桃 | 日韩电影在线免费观看| 国产一区二区福利| 色屁屁一区二区| 日韩欧美另类在线| 亚洲视频免费观看| 美女视频一区二区| 国产精品自拍三区| 色美美综合视频| 91精品国产综合久久精品麻豆| 欧美高清性hdvideosex| 国产色爱av资源综合区| 一区二区三区在线不卡| 青青草原综合久久大伊人精品优势 | 欧美色综合网站| 2020日本不卡一区二区视频| 天堂va蜜桃一区二区三区漫画版| 不卡在线视频中文字幕| 国产人伦精品一区二区| 精品综合久久久久久8888| 欧美另类高清zo欧美| 午夜精品久久久久久久99水蜜桃 | 国产精品亚洲第一| 欧美成人综合网站| 日韩激情一区二区| 欧美久久久影院| 亚洲国产一区二区在线播放| 成人动漫av在线| 中文字幕免费在线观看视频一区| 狠狠色丁香九九婷婷综合五月| 精品国产乱码久久久久久闺蜜| 蜜臀av性久久久久蜜臀aⅴ四虎| 欧美一区二区美女| 麻豆精品在线看|