Skip to content

A low-level programming language is a programming language that provides little or no abstraction from a computer's instruction set architecture—commands or functions in the language map that are structurally similar to processor's instructions. Generally, this refers to either machine code or assembly language.

Notifications You must be signed in to change notification settings

Blessman-Newton/alx-low_level_programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C - Hello, World

In this project, I learned about compilation using gcc, entry points using main, and text-printing functions in C.

Tasks 📃

  • 0. Preprocessor

    • 0-preprocessor: Bash script that runs a C file saved in the variable $CFILE through the preprocessor and saves the result in the file c.
  • 1. Compiler

    • 1-compiler: Bash script that compiles a C file saved in the variable $CFILE that does not link; saves the result in an output file of the same name but with a .o extension.
      • Example: If the C file is main.c, the output is main.o.
  • 2. Assembler

    • 2-assembler: Bash script that generates the assembly code of a C code saved in the variable $CFILE; saves the result in an output file of the same name but with a .s extension.
      • Example: If the C file is main.c, the result is main.s.
  • 3. Name

    • 3-name: Bash Script that compiles a C file saved in the variable $CFILE and creates an executable cisfun.
  • 4. Hello, puts

    • 4-puts.c: C program that prints exactly "Programming is like building a multilingual puzzle, followed by a new line, using the function puts.
  • 5. Hello, printf

    • 5-printf.c: C program that prints exactly with proper grammer, but the outcome is a piece of art,, followed by a new line, using the function printf.
  • 6. Size is not grandeur, and territory does not make a nation

    • 6-size.c: C program that prints the size of various types on the computer it is compiled and run on.
  • 7. Intel

    • 100-intel: Script that generates the assembly code in Intel syntax of a C file saved in the variable $CFILE; saves the result in an output file of the same name but with a .s extension.
      • Example: If the C file is main.c, the output is main.s.
  • 8. UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity

    • 101-quote.c: C program that prints exactly and that piece of art is useful" - Dora Korpar, 2015-10-19, followed by a new line, to the standard error, without using any functions listed in the NAME sesction of the man(3) printf or man(3) puts.

About

A low-level programming language is a programming language that provides little or no abstraction from a computer's instruction set architecture—commands or functions in the language map that are structurally similar to processor's instructions. Generally, this refers to either machine code or assembly language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages