Summary

This document is a review of CSOA quiz topics, covering assembly language, compilers, and other programming concepts. Topics such as assembly language, compilers, interpreters, and linkers are detailed to assist in learning the relevant concepts.

Full Transcript

1. **Assembly Language** - It is a type of low-level programming language that is intended to communicate directly with a computer\'s hardware.  2. **Compiler** - It is also known Language processor. 3. **Compiler** - It is a translator program that transform an entire program compo...

1. **Assembly Language** - It is a type of low-level programming language that is intended to communicate directly with a computer\'s hardware.  2. **Compiler** - It is also known Language processor. 3. **Compiler** - It is a translator program that transform an entire program composed of high/mid-level language statement into an object program consisting of machine language executable code. 4. **Assembler** - It is language translator programs that transform assembly language to machine language instruction. 5. **Interpreter** - It is language translator the process the source program on a statement-by-statement basis and translate high/mid-level language statement and then executes it one at a time. 6. **Linker** - A program for high, mid and low levels of programming language that completes the process by converting the object into executable machine code. 7. **Comment** - It is used throughout a program to improve readability and clarity. 8. **Directives** - These are statement that give information to the assembler. Sometimes directives are called pseudo-ops. 9. **Operators** - These are used at Assembly time to affect the value of an operand. 10. **Pre-defined symbols** - These are the symbols that returns information to your program 11. **Variables** - This is a user- defined name or variable 12. **Name** - It refers to the address of a data item 13. **Label** - It refers to the address of the Instruction or procedure 14. **Title** - Create a title up 60 characters of a source listing. 15. **Dosseg** - Tells the Assembler to ignore all other request and adopt the DOS segment sequence-stack, data and mode 16. **Model** - It specifies and initializes the memory model before defining any segment. 17. **Small** - One Code Segment and one Data Segment. 18. **Large** - One data Segment of 64k and multiple code segments 19. **Compact** - One code segment of 64k and multiple data segment 20. **Stack** - It defines the size of the stack, default stack size is 1,024 bytes 21. **DATA** - It defines and marks the beginning of the data segment 22. **Code** - It defines and marks the code segment which consists of a set of instructions. 23. **END** - It is placed at the last line of the source program 24. **DB** - 8-BIT INTEGER 25. **FWORD** - 48-bit integer 26. **String** - It is used for descriptive data such as person's name or simply a message. 27. **Numeric Constant** - It is defined with a radix specifier such as d for decimal and, b for binary and h for hexadecimal. 28. **MUL** - To multiply of a given register and AX register and store the result to AX register. If the product is greater than 16 bits, the overflow is store in DX 29. **MOV** - Copied and transfer data between to registers or between an immediate 30. **Carry Flag** - The \_\_ records whether certain instructions produced an unsigned number which was too big to be held in the specified register or memory location 31. **Data register** - Four 32-bit data register are used for arithmetic, logical, and other operations 32. **Shift-left-Instructions** - It performs a left shift on the destination's operand, filling the lowest bit with 0. 33. **SAL** - It is identical to the SHL instruction 34. **REN** - In DOS commands, let you change the name of your file. 35. **MD** - This command creates a sub directory using the name you provide preferably eight(8) characters long and must start with a letter. 36. **RD** - This DOS commands let you removes a specific subdirectory. 37. **DIR** - This DOS command let you list all the content of a directory. 38. **A** - This debug command allows you to create a program in mnemonic or symbolic code 39. **U** - This debug command list all the instructions contained in the program beginning at the given address. 40. **D** - This debug command displays the content of a portion memory in hex and ASCII forms starting with the given address 41. **R** - This debug command allows you to display all register and their values. 42. **TLINK** - It is a linker that takes object file(s), libraries etc and combines them together and emits an executable program (in this case an MS-DOS EXE program). 43. **MOV AH, 01H** - Request for character input 44. **INT 21H** - Call Interrupt Service 45. **MOV DL, 24H** - Column size 46. **MOV AH, 08h** - Character input without echo 47. **0A** - Line Feed 48. **0D** - Carriage Return 49. **ROL** - This instruction shifts each bit to the left, with the highest bit copied in the Carry flag and into the lowest bit. 50. **LEA** - This instruction places the address specified by its first operand into the register specified by its second operand.

Use Quizgecko on...
Browser
Browser