Motorola M68CPU32BUG Manuel d'utilisateur Page 103

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 196
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 102
ASSEMBLER/DISASSEMBLER
M68CPU32BUG/D 4-1
CHAPTER 4
ASSEMBLER/DISASSEMBLER
4.1 INTRODUCTION
Included as part of the CPU32Bug firmware is a one-line assembler/disassembler function. The
assembler is an interactive assembler/editor in which the source program is not saved. Each
source line is translated into M68300 Family machine language code and is stored line-by-line
into memory as it is entered. In order to display an instruction, the machine code is disassembled
and the instruction mnemonic and operands are displayed. All valid M68300 Family instructions
are translated.
The CPU32Bug assembler is effectively a subset of the M68300 Family resident structured
assembler. It has some limitations as compared with the resident assembler, such as not allowing
line numbers and labels; however, it is a powerful tool for creating, modifying, and debugging
code of the M68300 Family.
4.1.1 M68300 Family Assembly Language
M68300 Family assembly language is the symbolic language used to code source programs for
processing by the assembler. This language is a collection of mnemonics representing:
Operations
M68300 Family machine-instruction operation code
Directives (pseudo-ops)
Operators
Special symbols
4.1.1.1 Machine-Instruction Operation Codes
The part of the assembly language that provides the mnemonic machine-instruction operation
codes for the M68300 Family machine instructions are described in the CPU32 Reference
Manual. Refer to that manual for any questions concerning operation codes.
4.1.1.2 Directives
Normally, assembly language can contain mnemonic directives which specify assembler
auxiliary action. The CPU32Bug assembler recognizes only two directives: DC.W (define
constant) and SYSCALL. These two directives define data within the program and make
CPU32Bug utility calls (refer to paragraphs 4.2.3 and 4.2.4, respectively).
Vue de la page 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 195 196

Commentaires sur ces manuels

Pas de commentaire