GoConqr has a new look! Let us know what you think.

Flashcards

SLR 7 - Types of Programming Language

Declan Gallagher English 14 cards

Cards in this deck (14)

  1. 1ParadigmsA way of thinking/programming
  2. 2Procedural LanguagesProcedural Languages Include:
    Sequence
    Selection
    Iteration
    Procedures
    Function
  3. 3Object Oriented LanguageOrganised by objects which mimic the real world
    Utilises Inheritance and Encapsulation
  4. 4InheritanceObjects can inherit methods from super classes
    Classes can use code from classes higher in the chain
    Commands are structured in two parts
  5. 5EncapsulationValues inside of methods are hidden from other methods
  6. 6Assembly LanguagesProgramming languages which:
    -Consists of Mnemonics
    -Processor Specific
    -Directly Interacts with memory
  7. 7Opcode and OperandOpcode - Instruction part of an assembly command
    Operand - The address of the data being used in the command
  8. 8LMC Instruction Set (1/2)ADD - Add
    SUB - Subtract
    LDA - Load
    BRA - Branch Always
    BRZ - Branch if Zero
  9. 9LMC Instruction Set (2/2)BRP - Branch if Positive
    INP - Input
    OUT - Output
    HLT - Halt (Stop)
    DAT - Define Data Locations and labels
  10. 10Methods of Addressing MemoryImmediate
    Direct
    Indirect
    Indexed
  11. 11Immediate AddressingThe value used in the operand is the actual value used
    ADD 10 means add 10 not what is in memory address 10
  12. 12Direct AddressingThe operand refers to a memory location where the value is found
    ADD 10 means to add whatever is at memory address 10
  13. 13Indirect AddressingThe operand points to a memory location which stores another memory address which points to the real value
    ADD 10 means goto the memory address that memory location 10 says for the value
  14. 14Indexed AddressingUses the Index Register (IR) which is used and increments with the memory addresses
    Used if you want to add multiple array items
    Add [starting address] + IR

Information

Description
Flashcards on SLR 7 - Types of Programming Language, created by Declan Gallagher on 13/01/2020.
Views
2
Rating

More on Programming Languages

Feedback

What is it about?

What do you think of the new look?

How do you like it?