Hi i need someone to help me on couple small MASM projects and complied with MS Visual C++.
Please contact me asap if you are insterested. Thanks.

Posted on 2005-03-14 02:36:36 by Cooljay
Cooljay,

What kind of project are they?
Posted on 2005-03-14 05:28:29 by roticv
Check it out from
http://www.upshottech.com/data

The details is in taskdetail.JPG. You may also need other files.
Please reply back with price, timeline and payment method. I need this task done within couple days. Couple other small tasks will come soon and similar as this one.

Thx
Posted on 2005-03-14 21:21:49 by Cooljay
Personally I am against doing other people's homework. But I want to make it straight that this forum is not the place to hire coders etc etc.
Posted on 2005-03-15 01:06:18 by roticv
$1000 .. lol just kidding. Since it was a bit useful training for myself, I took 5 mins to code it. BUT, there is one thing I require - that you learn asm and start contributing to this community. If you don't, you'll just show yourself as a jerk and a loser. If you do, there are many bonuses.

.data?
Entries  dw 32768 dup (?) ; place for negatives
Entries2 dw 32768 dup (?) ; place for positives
.code

Sort proc C PUBLIC ptr1,num
local MaxCountValue:WORD,MaxCount:WORD
.if !ptr1 || !num
xor eax,eax
ret
.endif
push edi
push esi
push ebx
;-----[ init Entries ]---------[
mov ecx,32768
xor eax,eax
lea edi,Entries
rep stosd
;------------------------------/

;----[ count Entries ]---[
mov ebx,ptr1
mov ecx,num
@@:
movsx eax,word ptr
inc Entries2
add ebx,2
dec ecx
jnz @B
;------------------------/


;-----[ reconstruct ptr1 and get max count ]----[
mov MaxCount,0
mov CX,-32768
mov esi,65536
mov edi,ptr1
lea ebx,Entries
nextEntry:
mov ax,
.if ax
cmp ax,MaxCount
jle @F
mov MaxCount,ax
mov MaxCountValue,CX
@@:
mov ,CX
add edi,2
dec ax
jnz @B
.endif

inc CX
add ebx,2
dec esi
jnz nextEntry
;-----------------------------------------------/

pop ebx
pop esi
pop edi
movsx eax,MaxCountValue
ret
Sort endp

Figure out how to make the startup asm code (includes)
Posted on 2005-03-16 09:14:57 by Ultrano
.386 ;instruction we use for the processor series
.model flat,stdcall ;model flat means that we're going to use at 32-bits mode
option casemap:none ;case sensitive for upper and lower cases, in this case it's none

include \masm32\include\windows.inc ;windows incclude file always first
include \masm32\include\user32.inc ;include user32.inc
includelib \masm32\lib\user32.lib ;include the libraries of user32
include \masm32\include\kernel32.inc ;include kernel32.inc
includelib \masm32\lib\kernel32.lib ;include libraries of kernel32

.data ;our data starts
MsgBoxCaption db "Caption part",0
MsgBoxText db "Our text",0

.code
start: ;our code starts
invoke Msg,NULL,addr MsgBoxText,addr MsgBoxCaption,MB_OK
invoke ExitProcess,eax

end start

16 bits

.model big
.stack
org 100h

.data
Msg db "Learn asm and ask for where to get the tutorials",0

.code
start:
mov ah,9
mov ds,ax
int 21h

label 1:

mov ax,cx
mov cx,2
mov ax,1
push ax
push bx
inc ax
dec ax
mul ax
div ax
pop bx
pop ax
mov ax,4c00h
int 21h

loop label1

end start




Posted on 2005-03-16 20:16:24 by Xor Stance