Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~9K People Reached
About Me

I spend copious amounts of time programming an operating system in assembly and C. When I'm not geeking out I read, listen to music, work, climb mountains and work towards running my own company.

Interests
Photography, mountain climbing, hiking
PC Specs
i5 @ 3.5GHz | 4GB RAM @ 2005MHz | 5850 @ 1200/850 1.7TB HDD space | Soundcardless :( Windows 7 | Ubuntu…
Favorite Forums
Favorite Tags
Member Avatar for Auraomega

Returning back to asm and coding in general, got an issue with what's probably an obvious mistake but I'm stumped non-the-less. [CODE='c']kputs("Testing");[/CODE] [CODE]; ; Print a single character to screen ; kputchar: ; assumes the register ax will contain the character to print mov edx, [SCREEN] ; edx = screen …

Member Avatar for Auraomega
0
101
Member Avatar for degamer106

Hmm I was lookin through a recursion program in this book i have here and the only thing I'm having trouble with is the modulus operator. I know that it returns the remainder of 2 numbers. But, suppose I have this: x % y If x > y then the …

Member Avatar for Shankye
-1
244
Member Avatar for Auraomega

Is there any documentation available on creating a dynamic voltage frequency scaling tool in C? I've been unable to find anything on Google and the only applications I seem to be able to find using DVFS are closed source. My preference would be for a Windows based system as that …

Member Avatar for N1GHTS
0
122
Member Avatar for Auraomega

Just wondering how I can get the time the program was compiled into my code dynamically, I'm guessing it'll be through my makefile somehow but my Google-fu has failed today. Any help would be great! (GCC + make *only*)

Member Avatar for nezachem
0
128
Member Avatar for JeshtLian
Re: HELP

Hi! CAN YOU PLEASE ME CODES OF SCIENTIFC CALCULATOR IN ASM TNX.. nEED IT BADLY..

Member Avatar for brandonrunyon
-1
74
Member Avatar for litsluv

Ok, Here is the problem in the book; You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which I have done) with components site_id_num (a four digit integer), wind_speed, day_of_month, and temperature. Each site measures its data daily, …

Member Avatar for Adak
0
198
Member Avatar for iwanttolearnc

what my code does is it waits for the user to type in "led" and performs the blink function. what i am trying to do is introduce the letter 'p' as a command to stop the blinking. what happens is that blink is only executed once. [CODE]if (!(strcmp(userinput, led))){ //condition …

Member Avatar for iwanttolearnc
0
112
Member Avatar for jemz

hello can you help me how can i print asterisk to form triangle like this [CODE] * *** ***** ******* [/CODE] here is my code [CODE] int main() { for(i=0;i<10;i++) for(j=0;j<i;j++) { printf("*"); } printf("\n"); getch() return 0; } [/CODE] please help me hoping for your positive responds...thank you in …

Member Avatar for jemz
0
66
Member Avatar for N1GHTS

Hello, I have a problem with compiling my code... Platform: [b]Ubuntu Linux 10.04[/b] Compiler: [b]gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3[/b] IDE: [b]Netbeans 6.9.1[/b] My C program is required to exclusively deal with Unicode. I can use these functions just fine: [b][COLOR="Green"]wcscpy(), wcslen(), mbstowcs(), wcstombs(), snprintf()[/COLOR][/b] The problem seems to only be when …

Member Avatar for N1GHTS
0
601
Member Avatar for challarao

Hi! I have been learning c language on linux for two months.Today I have changed to Windows and don't know how to ,where to write programs and compile them and execution.Please exlain me. (Windows-7,acer) Thanx.

Member Avatar for Auraomega
0
199
Member Avatar for susin

What are all the possible stamements that can be used in C, instead of printf and scanf statements?

Member Avatar for Auraomega
0
186
Member Avatar for nigelmercier

I'm writing a function that stores an integer as separate bytes in an array, see [URL="http://www.daniweb.com/forums/thread25312.html"]here[/URL]. I've got to the part when I detect a button push, and increment the digit over the cursor. If this digit gets to 9, the next push should reset it back to 0. The …

Member Avatar for mitrmkar
0
343
Member Avatar for satishsingh

how kernel interact with hardware.???they says kernelsr mainly written in assembly language n then it is converted to machine language. bt even i cant feel how machine language accomplish our work wot we wish for can ane one explain concept fully or some refrences

Member Avatar for Auraomega
-1
116
Member Avatar for priyanka.js28

which one of the following will execute faster? int p=2; p++; OR p=p+1;OR p+=1; and y?? is it p++ bcoz it is a single instruction??...nd the rest r multiple...

Member Avatar for SaiBalaji
0
371
Member Avatar for ankur3000

Hey guys, i needed some help with this encryption-decryption program that i am trying to write, as you will notice, i am not very skilled or experienced but i want to grow naturally, so it would be great if you guys could point out the mistakes rather than suggest smth …

Member Avatar for Auraomega
0
122
Member Avatar for firoz3321

I have seen similar posts but could not find the exact answer that i can understand. I have to store and print the value which will 2 power 5 digit number. ex: 2 ^ 55555 2 ^ 99999 etc ... Please help me [B]coding:[/B] C [B]Compiler:[/B] DevC++

Member Avatar for prvnkmr449
0
4K
Member Avatar for Auraomega

I'm in the process of coding my own OS and right now I'm working on a stdio lib but was just wondering about fputs and how it should write to the screen, which would be a better approach? Making stdout a file descriptor and having puts call fputs with the …

Member Avatar for Auraomega
0
98
Member Avatar for smith32

Hi, I need some help from u again..... if we type: Enter Input : eee ddd cccc the result should be like this : sorting : ddd eee cccc but actual result is like this : sorting : eee eee cccc I don't know why... Can u help me ?? …

Member Avatar for Adak
0
219
Member Avatar for JayNak

Hi, I've been developing some code that parses output reports and re-reports on information that is of interest. I utilize strtok quite heavily in this program and I have run into the situation where my final strtok call may or may not return some info. Depending on if there is …

Member Avatar for Ancient Dragon
0
202
Member Avatar for krille_x

Hi Im rather new to this but I want to ask how to re-define the array argv[] after the program main(int argc, char *argv[]) have been called? example main(int argc, char *argv[]) //assume the program is called by: program //this would give argc=1 and argv[0]= program //but know I want …

Member Avatar for Narue
0
162
Member Avatar for king chandel

hi all,I want to learn assembly language.I know nothing about it.can anyone suggest me any book for begginers? thanx a lot

Member Avatar for Auraomega
0
87
Member Avatar for jeevsmyd

I am planning to create a simple bulls and cows( also know as mastermind board game) in C.The computer is supposed to make 4 digit code in which the allowed digits are 1,2,3,4,5,and 6 ! 0,7,8,9 are to omitted !! How do I make the computer create such a 4 …

Member Avatar for Auraomega
0
395
Member Avatar for rtirak

Here is what I have to do. 1)Read integers from a file 2)If it cannot be opened, display an error message and exit the program. 3) Otherwise, read an integer from the file (there is guaranteed to be at least 1). 4) If that count is 0, display an error …

Member Avatar for rtirak
0
153
Member Avatar for amarnathch

How could i know the total elements an array can store??? whether it depends on the datatype or os(32bit or 64bit)???

Member Avatar for Narue
0
92
Member Avatar for creeps

Hello, I've learnt a bit more C since I posted [url=http://www.daniweb.com/forums/thread302037.html]the last code review thread[/url], so I've decided to rewrite the Mystery Word application, this time using strings, pointers and pointer arithmetic, and dividing the program into files (I've only got three of those). I've also created a very basic …

Member Avatar for creeps
0
99
Member Avatar for Auraomega

I've never used inline assembly shockingly, and I'm just wondering how/if I can do something. Bit of background; I'm coding a basic OS kernel, I have various subroutines written in assembly and amongst others I have a puts subroutine that is an attempt at mimicking puts in C. In order …

Member Avatar for Auraomega
0
122
Member Avatar for GAslugger

How do you write Hello world in dynamic C is this correct? main() { printf("Hello World"); }

Member Avatar for Auraomega
0
184
Member Avatar for Auraomega

Trying to write a puts like subroutine in assembly but failing miserably. I'm using BIOS calls only (I.E. I'm not running another operating system). The code is using Intel syntax. What I have so far is: [CODE=asm]; [BITS 32] [GLOBAL hello_world_asm] ; ; a very basic puts function without the …

0
52
Member Avatar for Auraomega

Finished writing this a little while ago but unfortunately the generated MD5 doesn't match other application's hashes. I have basically used [URL="http://en.wikipedia.org/wiki/Md5"]Wikipedia[/URL] for reference. I have a feeling my error is introduced in the padding stage but I can't be certain, hoping a fresh set of eyes could point out …

Member Avatar for Kieran Y5
0
233
Member Avatar for Auraomega

Hi there, I'm in the process of moving some code into Visual C++ 2008, the code works fine when compiled with Mingw however crashes when compiled with VC++: [CODE=c++] s_cell **cell; *cell = (s_cell *) malloc(sizeof(s_cell) * MAP_X); for(int loop = 0; loop < MAP_X; loop++) { cell[loop] = (s_cell …

Member Avatar for Aranarth
0
165