Assembly
An assembly language is a low-level language for programming computers.
Forum Post

Re: How can I cuont The number of words in a file ?

how to write reverse a string program in c? how to write Reverse string program source code using pointers in c programming language..? Armstrong numbers in c? palindrome numbers program in c?...
Forum Post

Re: hardware info?

Ok nice site, seriously , cant delete posts either, I actually made 2 posts accidentally, and in 1 of the posted I accidentally posted my apologies for double posting also 2 times, everything cause...
Forum Post

Re: This asm code doesn't work, help me.

see the book for x86 assembly guide
Forum Post

Re: How can I cuont The number of words in a file ?

The best solution will depend on the type of file you are counting words from and how you want to define a word. ASCII vs. Unicode. MS-Word docs vs. PDF files. It can get quite elaborate. ASCII is...
Forum Post

Re: how to shutdown computer..

I faced this same problem in making my own OS. Using information I found on Toshihiro Horie's website, I made these routines to do the job: DEFINT A-Z SUB APMGetVer(vMajor, vMinor, APMState)...
Forum Post

Re: 'Merge Sort' code

Hi, You may want to check the date on that first post - it is 28-Dec-2005! I think he graduated by now - OR DIDN'T (maybe did not make the Merge Sort) :-) But, seriously: check the Wikipedia...
Forum Post

Re: 'Merge Sort' code

Hi! I'm doing the same now. did you ever make it? If you did, would you please send mi your code just to see how you did it? Thank's a lot!!
Forum Post

Re: How can I cuont The number of words in a file ?

filesize in bytes divided by 2 == number of words in file... LOL but seriously. It depends on your definition of a word and on what type of file. You could simply scan for the value 20h (space)...
Forum Post

253 byte PC minesweeper game (complete source code)

200/8 = 25 chars high and bx,bx ; test buttons jz inputLoop ;calc mouse click address mov ax,80 mul dx ; mul doubles as xor dx,dx later on add ax,cx...
Forum Post

Re: slow floating point on Pentium 4

I'm not familiar with those specific instructions on CPU's, but there are a couple of general things to keep in mind. On modern hardware, at least MUL & DIV are usually processed iteratively in...
Forum Post

slow floating point on Pentium 4

Hi, I have performance issues with the following code: ... mulsd %xmm1, %xmm0 addsd %xmm2, %xmm0 add 1, %eax cmp 10000000, %eax ... basically: for (i = 0; i
Forum Post
Forum Post

Re: How can I cuont The number of words in a file ?

I forgot TASM... sorry, but here is some pseudo-code: open file nbytes = get file size token = 0 nwords = 0 repeat 'nbytes' times { c = read one character from file if (c is a word...
Forum Post

How can I cuont The number of words in a file ?

How can I cuont The number of words in a file ?Using TASM
Forum Post

Need help with inline assembly in C code

Hi everyone, I'm new to this site and hope you might be able to help me out? So I've been given an assignment to produce this output: % ./hw3b foo slow foo but foo sure % ./hw3b XYZ123 slow...
Forum Post

Linked List in ASM

I want to write a simple linked list program with ASM . Here's the code which I have tried to write(presently only for single digit numbers) ! However,it works only for 3 numbers and that too has...
Forum Post

Re: Manually changing SP to prevent stack overflow

Thanks for the information :) That's what I was hoping. So as long as nothing ugly and complicated is in danger of being interrupted it shouldn't be a serious problem. Fortunately I don't need...
Forum Post

Re: Manually changing SP to prevent stack overflow

The recursion is actually a design oversight on my part. I don't currently have a way of returning back out of all the nested procedure calls when the player dies and is prompted to either start a...
Forum Post

Re: Manually changing SP to prevent stack overflow

The better question would be why stack overflows? I wrote a lot of ASM code for PCs since 86 (and there was some big production programs), and there is always a way to allocate memory instead of...
Forum Post

Re: Manually changing SP to prevent stack overflow

Where you need to worry about interruptions is when you are in the middle of doing something non-atomic, like an entire sub-procedure, or certain "complicated" CPU instructions like BTR. The CLI/STI...
1 2 3 4 5 6 16 26 36  Next
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.