/
rnekrasov
/
Python
Обзор
Документация
Войти
/
rnekrasov
/
Python
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Assembler/examples/code3.txt
27 строк
217 B
Christian Bender
Python Assembler interpreter
17 дек 2017, 02:06
Не верифицирован
17 дек 2017, 02:06
efcec4c
Код
Авторство
О чём код?
mov ecx, 5 call _double call _cube call _inc mov eax, 4 int 0x80 mov eax, 1 mov ebx, 0 int 0x80 _double: add ecx, ecx ret _cube: push eax mov eax, ecx add ecx, eax add ecx, eax pop eax ret _inc: add ecx, 1 ret