¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Assembly Language

Holly Scott Flashcards Comp Sci A-Level Inglés 22 fichas

Fichas del conjunto (22)

  1. 1Assembly CodeMnemonics represent operation codes and addresses
  2. 2AssemblerTranslates assembly language program into machine code
  3. 3Little Man ComputerEnter and test assembly language programs
  4. 4ADDAdd contents of memory address to ACC
  5. 5SUBSubtract contents of memory address from ACC
  6. 6STAStore value in ACC in memory address given
  7. 7LDALoad ACC with contents of memory address given
  8. 8BRABranch using address given as address of next instruction
  9. 9BRZBranch to address given if ACC is zero
  10. 10BRPBranch to address given if ACC is zero or positive
  11. 11INPInput into ACC
  12. 12OUTOutput contents of ACC
  13. 13HLTStops execution of program
  14. 14DATIndicate location that contains data
  15. 15Data Transfer and Arithmetic Operations: Input three numbers x, y and z, calculate and output the value of x + y - zINP
    STA x
    INP
    STA y
    INP
    STA z
    LDA x
    ADD y
    SUB z
    OUT
    HLT
    x DAT
    y DAT
    z DAT
  16. 16Branch Instructions: Input two numbers num1 and num2, output the largerINP
    STA num1
    INP
    STA num2
    LDA num1
    SUB num2
    BRP branch
    LDA num2
    OUT num2
    HLT
    branch LDA num1
    OUT num1
    HLT
    num1 DAT
    num2 DAT
  17. 17In a machine code, opcode is stored in 6 bits and operand is stored in 12 bits, what is the maximum number of operations in machine's instruction set?2^6
  18. 18Operation CodeBinary digits representing a basic operation and a 2 digit code representing addressing mode
  19. 19Immediate AddressingOperand is actual value to be operated on
  20. 20Direct AddressingOperand holds memory address of value to be operated on
  21. 21Indirect AddressingOperand is location holding address of value to be operated on
  22. 22Indexed AddressingAddress of operand found by adding contents of index register.

Información

Descripción
A-Level (Software Development) Flashcards Comp Sci Fichas sobre Assembly Language, creado por Holly Scott el 06/05/2018.
Creado por
Holly Scott
Visitas
1
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?