Hello, i've created a simple program that calculates the sum of certain numbers, but now i have to calculate
the sum of numbers that are pretty big. Big enough to cause a overflow/carry.
Wha...
Please help, why does this program not work properly.
it writes some garbage data on screen.
/*write string on screen.*/
#include<dos.h>
void main()
{
union REGS a,b;
char *str="Hel...
I am trying to write a code for the dot product of 2 vectors.
example: vector 1 (14, 12); vector 2 (5, 4)
esi --> address of Vector 1 (x1, y1)
edi --> address of Vector 2 (x2, y2)
d...
I am now on phase_5, thanks to Infinity08. With phase 5, I am trying to figure out how to make the last jump, or how to get %ecx to equal -0x8(%ebp). (this line)
0x08048dbb <phase_5+100>: ...
I can't seem to figure out what register my call readstring is going into. Can someone assist me real fast please. I get a symbol for some reason like I called readchar or something.
Here i...
Hi, I am new to OllyDbg debugger, and new to assembly language debugging in general.
I am having OllyDbg 1.1
Can somebody pls. tell me what is the difference between Step into, Trace Int...
Hi,
lets say I have the following c++ code:
sad = 0;
for(int i; i<16; i++){
for(int j; j<16; i++){
sad += abs(a[i][j] - b[i][j]);
}
}
// a and b have dimension height*width
...
write an assembly program to display the machine code that corresponds to a given i86 assembly language instruction.
1. the program should translate i86's AND & ADD assembly language instru...
mov Ax,1234
in memory Ax=04D2 ;(
how i can convert 1234 to 04D2 ??
Mov Ax,11B
in memory Ax=0003 ;(
how i can convert 11B to 0003??
HI ALL
HOW CAN I RUN ASM FILE INTO C OR IS ANY TOOL TO RUN ASM FILES?
want to get some know how with Assembly language.
am reading The Art of Assembly Language,
can i run MSAM or any other Assembler on VISTA?
or can i use Virtaul PC in VISTA to run Assemb...
Hi you all,
I need to do a Tetris game in Assembly, but i never did programme in this low language so i don't know were to start. I only just started to see and use Assembly about two wee...
I have the following problem. I am writing a program in assembly language, specifically intel's 16-bit assembly(must be in 16 bit assembly). I am using MASM32v8 for the Windows platform.
...
I'm looking for assembly code of the game "space invaders "
Can some one help me ???, please
Hey guys... I'm learning to read x86 assembly code as C code, and I need some help getting started.
Here's the original function in C:
--------
int triangle (int width, int height){
int ...
64-bit counter increment/decrement on 32-bit system.
Hello,
I would appreciate some help with an uncomplicated C and assembly problem. I am trying to get the following code snippet to work. I am trying to store the contents of the variable co...
i use turbo c 3.0 compiler and turbo assembler.i want to connect or combine 8086 assembly( for low level stuff) and C routines.i could not find good resources of information.can you please hel...
Hi,
I want to do assembly programming for ARM compatible processor. Where shall I get a basic tutorial to start with the programming?
Regards,
Deya.
Dear all,
Why can i get the address of local variables in inline assembler in MSVC?
void func(
int* a,
int b
){
int c;
int* d;
__asm mov eax, addressOf b ?
(in C c...
Hi,
I'm currently using a 98c668 Microcontroller of the 8051 Family for a project, a 12 Hour Digital Clock
I have tried to find a way to work out a delay of 1 second in Hex and also vari...
Hello
I want a piece of code which can multiply large numbers like 100 digit number.
Thanks from now!
I'd like to divide two negative numbers let say -10 and -5 and get 2
I'm using the instruction but it doesn't work.
mov eax, val1 ;
div val2 ;
Aprreciate help
Hi everyone!
I need some help with a task that I have to do in my university class. I have been doing some java programming but I don“t understand the assembler programming that I have to use...
I'm trying to get the Get_ldtr_base to work. I've copied the code from a C++ sample:
unsigned long
get_idt_base (void)
{
unsigned char idtr[6];
unsigned long idt = 0;
_asm sidt id...