Autosave: 2024-04-09 07:30:04

This commit is contained in:
thomasabishop 2024-04-09 07:30:04 +01:00
parent 2c873c6db1
commit 4da012dc9a
5 changed files with 8 additions and 16 deletions

Binary file not shown.

View file

@ -6,11 +6,6 @@ created: {{format-date now "full"}}
--- ---
# {{title}} # {{title}}
## Summary
## Detail
## Applications
## Related notes ## Related notes

View file

@ -7,8 +7,6 @@ created: Tuesday, March 12, 2024
# Assembly # Assembly
## Summary
- Assembly is one level up from machine code and provides a more human-friendly - Assembly is one level up from machine code and provides a more human-friendly
abstraction layer abstraction layer
@ -18,15 +16,13 @@ created: Tuesday, March 12, 2024
- It is translated back to machine code by an assembler for the computer to - It is translated back to machine code by an assembler for the computer to
execute. execute.
## Detail ## Example instruction
### Example instruction
We can translate the machine instruction `e3a07004` into the assembly We can translate the machine instruction `e3a07004` into the assembly
instruction `mov r7, #4`. This translates to: _move the value number 4 to the instruction `mov r7, #4`. This translates to: _move the value number 4 to the
register r7_. register r7_.
### Assemblers ## Assemblers
Although assembly is useful for humans, computers still work at the level of Although assembly is useful for humans, computers still work at the level of
machine code. Therefore you need an **assembler** to translate the assembly code machine code. Therefore you need an **assembler** to translate the assembly code
@ -35,7 +31,7 @@ binary object file containing machine code is returned.
A disassembler does the opposite: translate machine code into assembly. A disassembler does the opposite: translate machine code into assembly.
### Relation to instruction set architectures ## Relation to instruction set architectures
- the ISA defines the hardware capabilities and the instructions that can be run - the ISA defines the hardware capabilities and the instructions that can be run
on the hardware on the hardware
@ -44,8 +40,6 @@ A disassembler does the opposite: translate machine code into assembly.
- humans use an assembly language version of the machine code which is then - humans use an assembly language version of the machine code which is then
translated back to machine code for the computer to execute. translated back to machine code for the computer to execute.
## Applications
## Related notes ## Related notes
[[Hexadecimal_number_system]], [[Instruction_set_architectures]], [[Hexadecimal_number_system]], [[Instruction_set_architectures]],

View file

@ -16,8 +16,6 @@ tags: [CPU]
- The two main CPU architectures are ARM and x86 - The two main CPU architectures are ARM and x86
## Detail
## Architecture is logical not physical ## Architecture is logical not physical
The "architecture" of an ISA is logical rather than physical, i.e processors The "architecture" of an ISA is logical rather than physical, i.e processors

5
zk/eolas/Welcome.md Normal file
View file

@ -0,0 +1,5 @@
This is your new *vault*.
Make a note of something, [[create a link]], or try [the Importer](https://help.obsidian.md/Plugins/Importer)!
When you're ready, delete this note and make the vault your own.