Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %include "rw32-2018.inc"
- section .data
- chill dw 12
- netflix db -3
- ; zde budou vase data
- section .text
- ;int schedule(char netflix, short chill);
- schedule:
- push ebp
- mov ebp,esp
- mov ax,0
- mov al,[ebp+4]
- mov bx,[ebp+8]
- imul bx
- mov esp,ebp
- pop ebp
- ret
- _main:
- push ebp
- mov ebp, esp
- push dword [chill]
- push dword [netflix]
- call schedule
- add esp,8
- ; zde bude vas kod
- pop ebp
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement