Computer Science
Computer science is the study and the science of the theoretical foundations of information and computation and their implementation and application in computer systems.
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
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

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: Help For A Beginner

MASM16 is a dinosaur - FASM is much easier to use. How do you imagine a command line text editor? A command line program is a dialog between user and a program in a form of question printed by a...
Forum Post

Re: help with operating system (running programs?)

Might I Recommend A Book? "Assemblers and Loaders", "Linkers And Loaders", Or "Assemblers Linkers And Loaders" Ok so i said one book but i gave you three, you should probably go ahead and read all...
Forum Post

Running programs from command line in asm

Hi! I'm currently programming a os in asm, and currently I need help with one thing. How do I run binaries from my boot-floppy? I'm currently setting up the kernel to read fat16, and it reads the...
Forum Post

NASM assembly programming within the x86 (i386) architecture.

./lab6 ; ; Your task will be assessed as follows: ; ; It should assemble (1 mark) ; Implement the StackAdd operation (2 marks) ; Implement the StackSubtract operation (2 marks)...
Forum Post

Re: BIOS 10h error

Original C program says: "regs.h.al = 8;" Asm program says: "mov al,9" It should say "mov al,8" instead and your code will be the same. Although this is just the color to set the pixel......
Forum Post

Re: string reverse.. help..

I'm really tired and only spent 5 minutes on this... but I think I didn't make any terrible errors... ; assuming SI is already set to point to InputBuffer.... fineEnd: lodsb cmp al,13...
Forum Post

Re: 8085 programming

5 byte binary numbers? That is confusing. Can you give an example of these numbers? How are these numbers get into your program? Do you define them as text or as real bunary numbers. Or you need to...
Forum Post

Re: How to write a tool for changing video mode under DOS?

There are many assemblers like TASM, MASM, and NASM, but you should try NASM. It's free. To write a program, you create a text file with your assembly commands. To compile, there are two different...
Forum Post

Re: Dos interrupts 2h function

Thanks a lot for your replies. I tried to trace into DOS interrupts, but failed. I think maybe trace flag is cleared immediately when we call "INT 21h". So I checked the interrupt vector of "INT...
Forum Post

Dos interrupts 2h function

Hi, everyone! Dos interrupts 2h function can ouput a character to screen. mov ah , 02h mov dl , 'A' int 21h On the other hand, we can directly "write" a character to screen....
Forum Post

DYNAMMIC PROGRAMMING CODE IN C++ FOR MATRIX CHAIN MULTIPLICATION

I NEED A PROGRAMME IN C++ LANGUAGE FOR MATRIX CHAIN MULTIPLICATION PLEASE SOMEONE HELP ME I NEED IT URGENTLY
Forum Post

Re: Multiplication of two 64 bit integers on 32 bit processor

So this is what I've got now: SECTION .data SECTION .text ALIGN 16 BITS 32 AL_OFF EQU 8 ; Offset from EBP to low bits of a (AL) AH_OFF EQU 12 ; Offset from EBP to high bits...
Forum Post

Multiplication of two 64 bit integers on 32 bit processor

Hi I want to write an x86 assembler function that multiplicates two 64 bit integers on a 32 bit processor. It has the following C signature: void llmultiply(unsigned long long int l1, unsigned...
Forum Post

Unsigned Multiplication O/F (C Assembly)

Hi, can you help with a C programming assignment? A small part of the course covers writing/compiling assembler code as well, so I have this problem that I can't figure out: Basically it deals...
Forum Post

Re: JMP versus LOOP

By definition, LOOP requires (and modifies) the CX register, so it actually matters very much what CX is. In addition, by using LOOP, the value of CX will be changed when the subroutine exits. So,...
Forum Post

reading files in nasm

hey can someone help me with this, im trying to read from a very large file and my interupt function reads only 4096 once, i've been trying to create a loop to read more file but it doesnt seem to be...
 

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.