d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Assembly. > Any Expert Out There?
12Next
Add Reply New Topic New Poll
Member
Posts: 1,797
Joined: Feb 22 2016
Gold: 6.00
Aug 2 2016 12:28pm
Hit me with a pm :)
Member
Posts: 3,939
Joined: Feb 1 2013
Gold: 2,749.09
Warn: 20%
Aug 2 2016 01:47pm
I'd pop my stack into your register anyday

why is this in C/C++/C# tho
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Aug 2 2016 06:27pm
Post your questions. None of the regulars pm people on a normal basis.
Member
Posts: 31,910
Joined: Sep 25 2009
Gold: Locked
Aug 3 2016 03:01pm
i have questions, if possible... for same tematic
using C++

1) wanna know in witch case realloc will move memory data.. (well if by using realloc memory will stand, then old data dont be changed - no rewrite or smt else. In case of move - function will move all old memory (lesser space then new), and ofc it is +time for that.

2) can assembly help to create dynamic args? Asking cus tricks with union/Variant eating more memory then need for short types of args.

3) for specyfic args (non POD) type_id making just a rnd value? Any possibilityes of reading that from Run-Time?
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Aug 3 2016 07:54pm
This post is a violation of the site rules and appropriate action was taken.

Quote (Arhimond @ Aug 3 2016 05:01pm)
i have questions, if possible... for same tematic
using C++

1) wanna know in witch case realloc will move memory data.. (well if by using realloc memory will stand, then old data dont be changed - no rewrite or smt else. In case of move - function will move all old memory (lesser space then new), and ofc it is +time for that.

2) can assembly help to create dynamic args? Asking cus tricks with union/Variant eating more memory then need for short types of args.

3) for specyfic args (non POD) type_id making just a rnd value? Any possibilityes of reading that from Run-Time?


Come back when you have reached typing level 10 and are wearing a cloak of non speech fuck.
Member
Posts: 3,939
Joined: Feb 1 2013
Gold: 2,749.09
Warn: 20%
Aug 3 2016 11:30pm
Quote (Arhimond @ Aug 3 2016 02:01pm)
i have questions, if possible... for same tematic
using C++

1) wanna know in witch case realloc will move memory data.. (well if by using realloc memory will stand, then old data dont be changed - no rewrite or smt else. In case of move - function will move all old memory (lesser space then new), and ofc it is +time for that.

2) can assembly help to create dynamic args? Asking cus tricks with union/Variant eating more memory then need for short types of args.

3) for specyfic args (non POD) type_id making just a rnd value? Any possibilityes of reading that from Run-Time?


consider another hobby
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Aug 4 2016 12:26pm
Apparently telling someone to level up is flaming.
Member
Posts: 4,633
Joined: Apr 8 2006
Gold: 1,611.85
Sep 4 2016 07:50am
xor ecx,ecx
mov edi,0a0000h
e1: mov [edi+ecx], al
inc al
inc cx
jnz e1

This post was edited by ToudiPT on Sep 4 2016 07:51am
Member
Posts: 2,683
Joined: Jun 27 2009
Gold: 9.00
Sep 5 2016 04:44pm
Quote (ToudiPT @ Sep 4 2016 06:50am)
xor ecx,ecx
mov edi,0a0000h
e1: mov [edi+ecx], al
inc al
inc cx
jnz e1


Uhh you can't sequence double parameter addition right after a mov operation in-sequence... the buffer is already filled with the mov pointer-> out.
Member
Posts: 3,939
Joined: Feb 1 2013
Gold: 2,749.09
Warn: 20%
Sep 6 2016 04:01am
Quote (aCaseofNoob @ Sep 5 2016 03:44pm)
Uhh you can't sequence double parameter addition right after a mov operation in-sequence... the buffer is already filled with the mov pointer-> out.

Code

push 30h
jmp @f
@1:
db 61h, 43h, 61h, 73h, 65h, 6Fh, 66h, 4Eh
db 6Fh, 6Fh, 62h, 20h, 69h, 73h, 20h, 63h
db 6Ch, 75h, 65h, 6Ch, 65h, 73h, 73h, 00h
@@:
push @1
push [esp]
push 0
call MessageBoxA
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll