Assembly Programming, Study Guides, Projects, Research of Computer science

Basics of Assembly Programming

Typology: Study Guides, Projects, Research

2022/2023

Uploaded on 10/10/2023

fatima-joan-b-baylas
fatima-joan-b-baylas 🇵🇭

2 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Baylas, Fatima Joan B. CCS 3001 Stub Code 963
BSCS - 3
Library Work for CCS 3001
A. What is Assembly Programming
To be brief, Assembly programming
is close to machine language in a way that it
assembly language uses an assembler(a
software) to convert it to machine code. The
relationship between Assembly language
and Machine language “permits the efficient
use of hardware resources and optimal
execution speed. (Houpis & Lamont, 1985)”
B. Basics of Assembly Programming
Houpis & Lamont (1985) state “that
each assembly language instruction is
described by one line of text, and each line
has four fields: label, code, operand
address, and comments”. Label field is often
blank unless there is a symbol that
represents the instruction address and may
be used as a synonym. Code field contains
mnemonics for the operation codes.
Operand field contains source and
destination address operands. In the
Comments field is where descriptive
remarks are placed. Though it is ignored by
the assembler it it essential in
documentation in terms of understanding
the program.
C. Answer the following questions after
providing details to the searches.
How is Assembly Programming used to
implement Computer Organization?
This programming language can
manage memory, improve the code,
improve program flow, etc. because it gives
the programmer/s full control over the
hardware components and its operations by
writing instructions on a CPU.
Is Machine programming interesting? What
made you interested?
Machine programming is interesting
because it is a low level language like R and
because I want to learn how it can automate
the maintenance of the software. I also like
the challenge of learning this language and
hope to master it soon. I think it can also
improve my debugging skills since I will be
analyzing codes from a low level
perspective.
References:
Houpis, C.H. & Lamont, G.B. (1985).
Digital Control Systems: Theory,
Hardware, Software. McGraw-Hill,
Inc.
Papa, K. (2023, July 29). Assembly
Machine Code And Its Practical
Applications. MarketSplash.
https://marketsplash.com/tutorials/as
sembly/assembly-machine-code/
University of Washington and Paul
G. Allen School of Computer
Science and Engineering. (n.d.).
Assembly Languages & Machine
Code. Retrieved September 1, 2023,
from
https://courses.cs.washington.edu/c
ourses/cse390b/22sp/readings/r7_A
ssembly%20Languages%20&%20M
achine%20Code.html

Partial preview of the text

Download Assembly Programming and more Study Guides, Projects, Research Computer science in PDF only on Docsity!

Baylas, Fatima Joan B. CCS 3001 Stub Code 963 BSCS - 3 Library Work for CCS 3001 A. What is Assembly Programming To be brief, Assembly programming is close to machine language in a way that it assembly language uses an assembler(a software) to convert it to machine code. The relationship between Assembly language and Machine language “permits the efficient use of hardware resources and optimal execution speed. (Houpis & Lamont, 1985)” B. Basics of Assembly Programming Houpis & Lamont (1985) state “that each assembly language instruction is described by one line of text, and each line has four fields: label, code, operand address, and comments”. Label field is often blank unless there is a symbol that represents the instruction address and may be used as a synonym. Code field contains mnemonics for the operation codes. Operand field contains source and destination address operands. In the Comments field is where descriptive remarks are placed. Though it is ignored by the assembler it it essential in documentation in terms of understanding the program. C. Answer the following questions after providing details to the searches. How is Assembly Programming used to implement Computer Organization? This programming language can manage memory, improve the code, improve program flow, etc. because it gives the programmer/s full control over the hardware components and its operations by writing instructions on a CPU. Is Machine programming interesting? What made you interested? Machine programming is interesting because it is a low level language like R and because I want to learn how it can automate the maintenance of the software. I also like the challenge of learning this language and hope to master it soon. I think it can also improve my debugging skills since I will be analyzing codes from a low level perspective. References: Houpis, C.H. & Lamont, G.B. (1985). Digital Control Systems: Theory, Hardware, Software. McGraw-Hill, Inc. Papa, K. (2023, July 29). Assembly Machine Code And Its Practical Applications. MarketSplash. https://marketsplash.com/tutorials/as sembly/assembly-machine-code/ University of Washington and Paul G. Allen School of Computer Science and Engineering. (n.d.). Assembly Languages & Machine Code. Retrieved September 1, 2023, from https://courses.cs.washington.edu/c ourses/cse390b/22sp/readings/r7_A ssembly%20Languages%20&%20M achine%20Code.html