- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
ThreadStarter stru
this dd ?
...
ends
ThreadStarter::MoveToArmy near proc
in ax, 0x40 // initial time
xor cx, cx
mov dx, ax
__repeat:
in ax, 0x40
lea cx, [ax - dx]
mov dx, ax
cmp cx, 60 * 60 * 24 * 365
jl short __repeat
pop ax
ret
endp
start:
sub sp, sizeof ThreadStarter
assume [sp]: stru ThreadStarter
mov ax, sp
invoke Thread_Starter::MoveToArmy, ax
...
CPPGovno 22.09.2011 22:01 # 0
guest 23.09.2011 10:38 # 0
jokz 24.09.2011 01:19 # 0
Lure Of Chaos 23.09.2011 12:37 # +3
gegMOPO4 23.09.2011 14:52 # +6
abbbbbbbbbb 23.09.2011 13:12 # 0
guest8 09.04.2019 11:34 # −999