nihonium
/
mipt_clang
Archived
1
0
Fork 0

solutions

master
nihonium 3 years ago
parent 6407f8f478
commit de4ee10ee2
No known key found for this signature in database
GPG Key ID: 0251623741027CFC

@ -0,0 +1,46 @@
# zero
```
xor eax, eax
```
# one
```
xor eax, eax
inc eax
```
# next
```
inc ax
```
# prev
```
dec ax
```
# sum
```
mov dx, ax
add dx, bx
```
# sub
```
mov rdx, rax
sub rdx, rbx
```
# imul
```
imul bl
mov dx, ax
```
# idiv
```
cwd
idiv bx
mov dx, ax
```