dev:assembly

Differences

This shows you the differences between two versions of the page.


Previous revision
dev:assembly [2023/05/01 17:21] (current) – [Hello World] Henrik Yllemo
Line 1: Line 1:
 +<button type="primary" size="xs" icon="glyphicon glyphicon-bookmark">[[programming_lagugages| Programming Language]]</button> 
 +====== Assembly ======
  
 +<data programminglanguage>
 +Full Name: Assembly
 +Short Name: Assembly
 +Description: low-level programming language
 +Company: Unkown
 +Web: No
 +Mobile: No
 +Enterprise: No
 +Embedded : Yes
 +</data>
 +
 +<accordion>
 +<panel type="warning" title="What is Assembly language?">
 +Assembly language is a low-level programming language that uses a series of mnemonics to represent instructions that can be executed directly by the processor of a computer. It is one step above machine language, which is a binary code that can be executed directly by the computer.
 +</panel>
 +<panel type=""  title="Why use Assembly language?">
 +Assembly language can be used to write code that is very fast and efficient, as it can directly access hardware resources and memory addresses. It is often used in applications that require real-time processing, such as operating systems, device drivers, and embedded systems.
 +</panel>
 +<panel type=""  title="What are some common Assembly languages?">
 +Some common Assembly languages include x86 (used by Intel and AMD processors), ARM (used in many mobile devices), and MIPS (used in many embedded systems).
 +</panel>
 +<panel type="" title="Is Assembly language difficult to learn?">
 +Assembly language can be difficult to learn, as it requires a good understanding of computer architecture and low-level programming concepts. However, with practice and patience, it can be a powerful tool for writing efficient code.
 +</panel>
 +<panel type="" title="Can Assembly language be used with modern programming languages?">
 +Yes, Assembly language can be used in conjunction with higher-level programming languages, such as C and C++. This is often done to optimize certain portions of code that require fast execution or direct access to hardware resources.
 +</panel>
 +<panel type="" title="Are there any drawbacks to using Assembly language?">
 +One of the main drawbacks of Assembly language is that it can be time-consuming to write and debug compared to higher-level programming languages. Additionally, code written in Assembly language can be less portable between different hardware architectures.
 +</panel>
 +</accordion>
 +
 +{{wp>Assembly_language}}
 +<jumbotron>
 +===== Hello World =====
 +
 +<sxh >
 + bdos    equ    0005H    ; BDOS entry point
 + start:  mvi    c,9      ; BDOS function: output string
 +         lxi    d,msg$   ; address of msg
 +         call   bdos
 +         ret             ; return to CCP
 + 
 + msg$:   db    'Hello, world!$'
 + end     start
 +</sxh>
 +</jumbotron>
 +
 +=== ## ToDo ## ===
 +  * Registers
 +  * Memory addressing modes
 +  * Interrupts
 +  * Input/output operations
 +  * Arithmetic instructions
 +  * Logic instructions
 +  * Control flow instructions
 +  * Macros
 +  * Subroutines
 +  * Stack operations
 +  * Bit manipulation
 +  * Assembly directives
 +  * Conditional branching
 +  * Assembly language syntax
 +  * Assembly language programming principles
 +  * CPU architecture
 +  * Assembly language optimization
 +  * Debugging assembly code
 +  * Inline assembly
 +  * Assembly language frameworks
 +
 +
 +See also: [[dev:programming_lagugages]]
 +
 +{{tag>programminglanguage}}