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.
Language
Any
Platform
License
Any
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?...
How can I cuont The number of words in a file ?Using TASM
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...
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...
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...
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...
./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)...
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......
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...
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...
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...
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...
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....
I NEED A PROGRAMME IN C++ LANGUAGE FOR MATRIX CHAIN MULTIPLICATION PLEASE SOMEONE HELP ME I NEED IT URGENTLY
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...
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...
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...
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,...
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...