Forum: Assembly Dec 12th, 2008 |
| Replies: 1 Views: 636 ; check out this link:
http://www.madwizard.org/programming/tutorials/mosaic/ |
Forum: Assembly Dec 10th, 2008 |
| Replies: 1 Views: 370 ; i'm not sure if u can do that in "PE explorer"
; but in e.g.: OllyDBG you can edit the disassembled code of a ;program and then copy it to the .exe file "selection"->"copy to ;executable"
; and... |
Forum: Assembly Dec 9th, 2008 |
| Replies: 5 Views: 740 ; here is a simple encrypting/decrypting app.:
; on encryption it will just inc hex values represented byeach char
; on decryption dec
.386
.model flat,stdcall
option casemap:none
include... |
Forum: Assembly Dec 9th, 2008 |
| Replies: 7 Views: 759 then you have to "inc si" and "jmp orderab" before "finish" |
Forum: Assembly Dec 9th, 2008 |
| Replies: 4 Views: 1,080 ; you have to allocate enough memory for the string in the ".data?" ; section:
.data?
szBuff db 256 dup(?)
; then when you call StdIn it will write user input into szBuff
.386
.model... |
Forum: Assembly Dec 9th, 2008 |
| Replies: 4 Views: 1,080 ; you mean storing it even after program close?
; then : In Registry (RegOpenKeyEx, RegQueryValueEx, RegSetValueEx ...) , In a File ( CreateFile, WriteFile, ReadFile ...), In .ini File ( you can... |
Forum: Assembly Dec 9th, 2008 |
| Replies: 5 Views: 740 ; do you want later to decrypt it back or no? |
Forum: Assembly Dec 8th, 2008 |
| Replies: 6 Views: 1,008 INCLUDE Irvine32.inc
maxInt proto xVal:DWORD, yVal:DWORD
;.....................
push 2 ; yVal
push 3 ; xVal
call maxInt
;.....................
maxInt proc xVal:DWORD, yVal:DWORD
mov eax,... |
Forum: Assembly Dec 8th, 2008 |
| Replies: 6 Views: 1,008 INCLUDE Irvine32.inc
maxInt proto xVal:DWORD, yVal:DWORD
;.....................
push 2 ; yVal
push 3 ; xVal
call maxInt
;.....................
maxInt proc xVal:DWORD, yVal:DWORD
mov eax,... |
Forum: Assembly Dec 8th, 2008 |
| Replies: 7 Views: 759 ; because "cmp" instruction doesnt accept two memory operands
; CMP r , r/i
; CMP m , r/i
; instead of "cmp add1[si],add1[si+2]"
; try:
mov dx, add1[si]
cmp dx, add1[si + 2] |
Forum: Assembly Dec 7th, 2008 |
| Replies: 1 Views: 3,683 ; hi.
; it will jump if eax is greater.
; "jg" is the opposite |
Forum: Assembly Dec 4th, 2008 |
| Replies: 1 Views: 456 Yes I think so. If you want post your code here and we'll see. |
Forum: Assembly Dec 4th, 2008 |
| Replies: 6 Views: 1,008 ;Hi.
;Actually why did you compare eax with -9999 ?
cmp eax,-9999 ;?
----------------------------------------------------------------
;stdcall is pushing on the stack values in the opposite... |
Forum: Assembly Dec 3rd, 2008 |
| Replies: 5 Views: 3,802 ;try this one too - it takes two numbers in ascii, converts them to hex ;and adds them together, then it converts the result to ascii and ;displays it in MessageBox |
Forum: Assembly Dec 3rd, 2008 |
| Replies: 5 Views: 3,802 |
Forum: Assembly Nov 26th, 2008 |
| Replies: 3 Views: 1,654 ;Take a look at this one too:
str_cat proc strBase:DWORD, strAdd:DWORD
mov edi, strBase
mov al, 0
repne scasb
dec edi
mov esi, strAdd
@@:
mov al, [esi]
mov [edi],... |