jagomart
digital resources
picture1_Programming Pdf 185632 | Asmx86 Manual 4


 147x       Filetype PDF       File size 0.07 MB       Source: spot.pcc.edu


File: Programming Pdf 185632 | Asmx86 Manual 4
4 assembly language concepts x86 assembly language programming for the pc 26 definitions instruction statement translated by the assembler into machine language directive statement which give directions to the assembler ...

icon picture PDF Filetype PDF | Posted on 01 Feb 2023 | 2 years ago
Partial capture of text on file.
                 4. Assembly Language 
                 Concepts 
                 X86 Assembly Language Programming for the PC                                                        26 
                          Definitions 
                           
                                  instruction - statement translated by the assembler into 
                                  machine language. 
                                   
                                  directive - statement which give directions to the 
                                  assembler during the assembly process but are not 
                                  translated into machine instructions. 
                                   
                                  mnemonics - acronyms that represent machine 
                                  language instructions; used to facilitate program 
                                  development. 
                                   
                                  identifiers - acronyms that represent addresses and 
                                  perhaps data. 
                 X86 Assembly Language Programming for the PC                                                        27 
                          Data Definition 
                           
                           Assembly Construct                                Variable Defined 
                                           DB                      Byte (8-bit) variable 
                                          DW                       Word (16-bit) variables 
                                           DD                      Double Word (32-bit) variable 
                                   
                                   
                                   
                          Numeric Constants 
                           
                                     Base                  Suffix               Examples 
                           Binary                              B          10101000b, 1B 
                           Decimal*                            D          10; 123d 
                           Octal                               O          5O; 0o 
                           Hexadecimal**                       H          5a5ah, 0ffffffffh 
                                   
                                   
                                   
                                  *   Default 
                                   
                                  ** Numbers staring with characters ‘A’ - ‘F’ should 
                                  be preceded by a ‘0’. 
                           
                 X86 Assembly Language Programming for the PC                                                        28 
                          String Constants 
                                   
                                  String constants should be enclosed in single quotes 
                                  (').  Examples: 'J', '5', 'Hello' 
                                   
                          Valid Identifiers 
                                   
                                  Identify program entities such as variables, labels and 
                                  constants defined with an EQU. A legal identifier: 
                                   
                                  ·  Can contain letters (A-Z, a-z), digits (0-9) or special 
                                       characters as: ?, @,  _ . 
                                   
                                  ·  Must begin with a letter or special character. 
                                   
                                  ·  Can be up to 255 characters (unique for the 1st 31). 
                                   
                                  Example: 
                                   
                                  magic_num        equ      12345678H 
                                   
                                  .DATA 
                                  name             db       'John Doe',0 
                                  initials         db       'J','D' 
                                  _serial_num dd            magic_num         
                                  num_1285         dw       0505h 
                 X86 Assembly Language Programming for the PC                                                        29 
The words contained in this file might help you see if this file matches what you are looking for:

...Assembly language concepts x programming for the pc definitions instruction statement translated by assembler into machine directive which give directions to during process but are not instructions mnemonics acronyms that represent used facilitate program development identifiers addresses and perhaps data definition construct variable defined db byte bit dw word variables dd double numeric constants base suffix examples binary b decimal d octal o hexadecimal h aah ffffffffh default numbers staring with characters a f should be preceded string enclosed in single quotes j hello valid identify entities such as labels an equ legal identifier can contain letters z digits or special must begin letter character up unique st example magic num name john doe initials serial...

no reviews yet
Please Login to review.