some complement

This commit is contained in:
2025-10-14 14:35:08 +09:00
parent 838560ecf7
commit e7ac32e095
5 changed files with 153 additions and 0 deletions

31
5.md Normal file
View File

@@ -0,0 +1,31 @@
# ARM ISA
## Syntax of Assembly
* Label: Define a symbol
```
label:
```
* Instruction
* Directive
```
.directive[;]
```
* macro_invocation
## Assembly Expression
Expressions consist of one or more integer literals or symbol references, combined using operators. Expression can be used as instruction operands or directive argument.
Assembler evaluates all expression, which means **no rum-time evaluation**.
Assembly Expressions are
* Constnats
* Symbol References
* Operators
* Unary Operators: `+`, `-`, `~`
* Binary Operators: `+`, `-`, `*`, `/`, `%`
* Binary Logical Operators: `&&`, `||`
* Binary Bitwise Operators: `&`, `|`, `^`, `>>`, `<<`
* Binary Comparison Operators: `<`, `<=`, `>`, `>=`, `==`, `!=`