Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
86% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
~76.6K People Reached
About Me

I've been a computer enthusiast since 1978 and enjoy assembly programming as a hobby.

PC Specs
AMD 950, CDROM, 17 gig HD, 784 Ram,
Member Avatar for sutty8303

I need help with this program. here is what we are supposed to do. The program should prompt the user to 'Please enter numeric grade: '. The program will then pass the numeric grade to a function that will convert to a letter grade. This function should have the following …

Member Avatar for Faisal Kazmi
0
18K
Member Avatar for glowkazaf

Help!!!!anyone who has the idea of creating a simple assembly games!!!please!please!!!even without the codes..just the idea of what kind of game...It's important for me...It's for our final project in Assembly...Thank you!

Member Avatar for TheElitist
0
1K
Member Avatar for samoo

Hi everyone i am new here and i have problem with my project this is the project Use x86 assembly language to write a program that works as a following: 1) When the program is executed, it asks the user to enter a password 2) If the entered password matches, …

Member Avatar for angham
0
252
Member Avatar for see_moonlight

what function can delete a space in a string? i want to find a c function , e.g. delspace(char *string) string = "abc d e" and delspace(string)-> "abcde" thanks, i want C function

Member Avatar for isaacws
0
564
Member Avatar for guneky

Hello, I tried to convert below code, but I couldn't.. What is wrong? [code=c] void invert(unsigned char *image, int width, int height){ for(int i=0;i<width*height;i++) image[i]=255-image[i]; } [/code] [code=assembly] ---------------------ASM--------- invert PROC push ebp ; save ebp register mov ebp,esp ; get current stack pointer mov esi,[ebp+8] ; get first parameter …

Member Avatar for gracy zacharias
0
1K
Member Avatar for lelejau

Hello, I have this code: [code] .data xd db "jjjj",0 .code ; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« LibMain proc instance:DWORD,reason:DWORD,unused:DWORD .if reason == DLL_PROCESS_ATTACH push dword ptr ds:[ xd] call Teste mov eax, TRUE ; return TRUE so DLL will start .elseif reason == DLL_PROCESS_DETACH .elseif reason == DLL_THREAD_ATTACH .elseif reason == DLL_THREAD_DETACH .endif …

Member Avatar for GunnerInc
0
140
Member Avatar for Allasso

Hello, I have observed that when generating assembly code from simple C programs using GCC, the stack is initialized as follows: [CODE]pushl %ebp movl %esp, %ebp andl $-16, %esp [/CODE] my question concerns the last instruction where -16 is anded with the stack pointer. Am I correct in assuming that …

Member Avatar for Tight_Coder_Ex
0
88
Member Avatar for Allasso

Hello, Is there a reference anywhere that I can find out the number of cycles each instruction takes for ia-32 processors? I do not find this information in the docs, neither has much googling come up with anything. Thanks, Allasso

Member Avatar for Tight_Coder_Ex
0
81
Member Avatar for aplh_ucsc

[CODE] BITS 16 start: mov ax, 07C0h ; Set up 4K stack space after this bootloader add ax, 288 ; (4096 + 512) / 16 bytes per paragraph mov ss, ax mov sp, 4096 mov ax, 07C0h ; Set data segment to where we're loaded mov ds, ax mov si, …

Member Avatar for Tight_Coder_Ex
0
396
Member Avatar for 3drenderer

In the name of God . Hi every one . I have started to learn x86 assembly . I am going to define[COLOR="Green"] array of 70000 bytes[/COLOR] . Which it gives me failure by using command below : [CODE]arr db 70000 dup(0)[/CODE] ------------------------------- ASSEMBLER :< MASM > OS :Windows ---------------------------- …

Member Avatar for Tight_Coder_Ex
0
100
Member Avatar for mikesr

Hi! I'm wondering how to perform: "To read and write call interrupts using instruction int (e.g. int 10h)." (in nasm x86) for example: [CODE] bits 32 extern _printf, _scanf global _main section .data message db "Hello!", 10, 0 section .text _main: pushad push dword message call _printf <--- how to? …

Member Avatar for Tight_Coder_Ex
0
831
Member Avatar for hsquared

Hello, im tying to complete a project here. but before i begin, i need to finish some basic problems. i just want to make sure i have this correct before i continue. 1. Declare an array named 'array1' consisting of the four elements {1, 2, 3, 4}, each as 2 …

Member Avatar for Tight_Coder_Ex
0
121
Member Avatar for MysticMan3000

hey guys, i was wondering if you could help me with my problem! i made a program that uses 3 arguments as inline commands: argv[0] is the name of the program) argv [1] is the name of the first file argv[2] is the name of the second file The purpose …

Member Avatar for vinitmittal2008
0
306
Member Avatar for |hex

i need help with, what i believe is complicated but probably isnt, on this following problem. i need to write a sequence of instructions that will do: variable5= -((variable1 + variable2) - variable3) + (variable2 - variable 4). thank you in advance.

Member Avatar for Tight_Coder_Ex
0
97
Member Avatar for bigwhiteegg

Q1: if I want to make this [B]char word[32] = "Backward"[/B] to be global how do i initialize the "Backward"? by doing LDX and STX?? Q2: in a switch statement in C++, it is often to see [B]case 0: case 1: cout<<"something"; break;[/B] how do u make this in assembly …

Member Avatar for Tight_Coder_Ex
0
121
Member Avatar for Cragsterboy

okay guys im really stuck on this and i need help badly. All i know is that i need a loop at the begining to ask for four different marks, these marks have to be between 0-100. the marks are then stored in array and then i do a sum …

Member Avatar for Tight_Coder_Ex
0
95
Member Avatar for tomtetlaw

I am using Windows XP 32-bit, VC++ 2008 with OpenGL and the Windows API. When I run my program, it seems to work fine, but whenever I click anywhere on the title bar of the window, the program exits. I have no idea where to start to look for the …

Member Avatar for tomtetlaw
0
157
Member Avatar for manhit45

I want to write using loop . I TRY AND TRY AGAIN BUT unsuccessful. Please help me. HOW CAN I DO THAT ? * ** *** **** ***** ******

Member Avatar for Tight_Coder_Ex
0
64
Member Avatar for scriptkiddy

I am having trouble with the following script: [code] .386 .model flat, stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\user32.inc includelib \masm32\lib\kernel32.lib includelib \masm32\lib\user32.lib ;adding all my libs .data nsv db "APPDATA", 0 ;i want to use this in getenv(); fnsv db 260 dUP(0) ; char fnsv[260]; ffn db …

Member Avatar for scriptkiddy
0
211
Member Avatar for Tight_Coder_Ex

This procedure dispatches application defined event handlers and alternately executes default process for both standard or sub/super classed windows. Map is defined as follows. In most cases I define this table in .data, but in can be in .const also. I choose writeable memory as application can redefine characteristics. [code] …

0
702
Member Avatar for Tight_Coder_Ex

I use GetTickCount in a lot of my applications, so I built this snippet to convert to hours minutes and seconds. Leading extraneous data is excluded from output.

0
211
Member Avatar for Tight_Coder_Ex

User can enter an ascii string of up to 48 characters consisting of 1's or 0's, with randomly interspersed whitespace. IE: [B]1011111001011110 [/B]will be evaulated equally to [B][1011][111....cc001cccx01 111hhhh0 [/B]Algorithm parses from right to left so will be truncated at 16 position Purpose is to give all those still programming …

0
428
Member Avatar for Tight_Coder_Ex

There are numerous calls to Win32 API that return detailed information as to failure via GetLastError (). I've devised a method by which to get the textual information corresponding to error and the address of the call that caused the violation. If GetLastError () returns null, then it can serve …

0
303
Member Avatar for Tight_Coder_Ex

Additional features will be added to this section of code such as fixing window size proportial to monitors resolution and subclassing the single edit control of this program. You'll notice I don't call ShowWindow here as WS_VISIBLE in windows style is defined.

0
243
Member Avatar for Tight_Coder_Ex

I've often wondered why M$ didn't make creating a window a simple as registering a class in that only one 32 bit value need be passed to calling routine. Although this is not ground breaking code design it does facilitate calling code only set EBX to point to all values …

Member Avatar for vegaseat
0
177
Member Avatar for Tight_Coder_Ex

I prefer to use this method as it doesn't clutter a windows procedure with dozens of conditionals and it address my primary objective of coding as tight as possible [28 bytes]. If you think my method can be improved upon in size and/or speed please post your solution. Note: I …

0
209
Member Avatar for Tight_Coder_Ex

The next few posts will be what's required to get a window to display on the monitor. The code between Main & Pump will probably change as time goes on, but for now this is all that is required. I choose this method or placement because only 28 bytes of …

0
217
Member Avatar for Tight_Coder_Ex

These are a pair of routine I use quite often. I know MemSet is virtualy the same as ZeroMemory in kernel32.dll, but there may be a time I want to use these in an embedded system where this dll won't be avaliable.

Member Avatar for vegaseat
0
203
Member Avatar for Tight_Coder_Ex

As part of a larger hobby project that I'm undertaking being a doubly linked list for 95/98/XP, this is the first in a series that I will be posting. Upon completion, I will have a complete application written in assembly for the Windows platform. Compiled with NASM

Member Avatar for Dani
0
209
Member Avatar for 1o0oBhP

An introduction to the Win32 GUI. The code creates a simple window that you can play with. Many parameters can be changed if you like! The unusual thing about windows apps is that rather than directly handling inputs (ie the position of the mouse / what control has focus ect...) …

Member Avatar for bumsfeld
0
613