2,878 Topics

Member Avatar for
Member Avatar for Zarathu

I would like to know what is wrong with this code: [code] [BITS 32] ; Windows XP SP2 32-bit section .text global _main _main: push Command mov eax, 0xAABBCCDD ; address of system() call eax Command: db "echo whatever" [/code]

Member Avatar for Zarathu
0
177
Member Avatar for StockBreak

Hi, I recently started programming with inline assembly (I use Visual C++), but I have found a bug that I cannot solve. Why does it give an error? // C language unsigned char array[] = {1, 2, 3, 4, 5, 6, 7}; // Assembly __asm { XOR CL,CL MOV AL,array[0] …

Member Avatar for Ancient Dragon
0
375
Member Avatar for mablung

This program was written to program a circut that was to be used in the controll of an game, it is made fore a big show in Norway. The job is mine and I cant get it to work properly. I have put the file as an attachment and was …

Member Avatar for ithelp
0
65
Member Avatar for Necrolis

first off this is my first post on this board, second i have knowledge of asm and debugging but by no means am i a guru(or the such). What i am trying to find is a way to track down the powerpc equivalent of certain x86 asm instruction(or a way …

Member Avatar for mathematician
0
70
Member Avatar for Silo45

Hi guys I need help debugging My program I'm not sure why it doesn't work I'm not THAT good at assembly so it might be a small bug. I wanted to post the code, But its a lot of code. Everything works fine until I need to input numbers I …

0
76
Member Avatar for RicardoDiaz

Hi, how can I use this assembler? I tried assembling a file through the terminal like this: "as Practice.asm". I got this message: "practice.asm:0:End-of-File not at end of a line practice.asm:6:End-of-File not at end of a line practice.asm:unknown:Partial line at end of file ignored" And an output file: "a.out", I …

Member Avatar for RicardoDiaz
0
186
Member Avatar for Xeon1st

Hi, I need to write a program that receives a 20 char string from the user and transforms lowercase to uppercase letter, but it should not affect any other character not included in the lowercase range (97-122, a-z). I wrote my program and the filters for the a-z configuration but …

Member Avatar for Xeon1st
0
148
Member Avatar for assembly_code

hello, i need to do a program in assembly with NASM that display an BMP image file at screen but i do not know how to do that, can some one help me? the program needs to have this statements: -it may ask for the image file name -the namos …

0
76
Member Avatar for youngstorm

Hi, I am trying to write a program to convert an integer to a character. Below is my code. Can someone tell me what I am doing wrong? It is for the MIPS chip. thank you, Michael [code=assembly] # A test to print charactors from numbers. # Does not work …

Member Avatar for youngstorm
0
3K
Member Avatar for gexecuter

Hello, i have a question of assemble using the video mode, when i run the program why only half of the screen is painted?,the whole screen should be painted, any help would be welcome please. this is the code: org 100h mov ah, 00 ; video mov al, 03 int …

Member Avatar for gexecuter
0
106
Member Avatar for R_H_B

Hello I'm a student. My teacher asked me to find a simple virus written in assembly and describe the code and what the virus do. Can someone help me? I couldn't find any virus and it's source code. Please help me or give me a clue. Thank you in advance.

Member Avatar for stymiee
0
72
Member Avatar for Aleksin

Okie... So this is what i have [code] [ENABLE] 004dea6a: push [00] jmp 004DEA6f [DISABLE] ret [/code] can anyone help me figure out how to get this to return back to the original state before the jmp? I have tried many other things and still cant figure it out. I …

Member Avatar for Ryu
0
119
Member Avatar for FC Jamison

I have written a small c++ program and then output the instructions as assembly...but I have no clue what it means. The book I am using does not explain this very well. Can someone comment the code to tell me what is going on? I'd greatly appreciate it. Thanks [code] …

Member Avatar for Salem
0
573
Member Avatar for cgill03

So I'm a young person who has just decided I want to persue a career in programing, (I think) while surfing through my usual video sites, i discovered a tuturial on how to "make yourown harmless virus" it was simply showing you how to make a "restart your computer" shortcut …

Member Avatar for jbennet
0
90
Member Avatar for aserfiotis

I have a project for which I have to implement parameter passing through stack between different protection levels. The information about the number of variables needed to be passed at the function must be given through DWORD Count of Call gate For this project I have to: A) Create 4 …

Member Avatar for aserfiotis
0
116
Member Avatar for ashkash

I need some help using the MIPS ISA. Given a word I need to extract the four byte values that make up the word. For example, given .word 5 if I store the word in a register, $t1, I need to need perform some operation on this to get out …

Member Avatar for Salem
0
50
Member Avatar for Zay

Hi; please check my code i am sure that everything and every statemnt is correct but the output is not true. this code is to show what the array a and b contain also it show their dot product . [CODE] include irvine32.inc .data a byte 1,3,5,7,9 b byte 2,4,6,8,20 …

Member Avatar for Ryu
0
130
Member Avatar for bassem

this is a code to make a calculator but it doesn't work i didn't find the error:@

Member Avatar for mathematician
0
116
Member Avatar for TylerSBreton

Is there a way to recognize when a key is pressed in 32-bit masm? I know you can use interrupts in 16 bit, but how can this be done using 32-bit, since 32-bit is protected by the OS. Thanks, Tyler S. Breton

Member Avatar for JeanChenYu
0
652
Member Avatar for nikosaggel

i started learning assembly now and i have to convert a number (0,..,9999) to a word for homework. if anyone knows how , please lets show me. thanks

0
81
Member Avatar for Zay

Hi; How can i see the output in assemply (Textpad prog. )? i jnow that to check flags , we go to commend prompt , But where to go to see the output of the programe for example if we have a pro. ton ask the user to enter his …

Member Avatar for Ancient Dragon
0
86
Member Avatar for eeeraser

Hi guys, Does anybody know how could I enlarge text in both sides not in one side by changing the resolution from 25x80 to 25x40.. best regards, eeeraser

Member Avatar for Ancient Dragon
0
85
Member Avatar for ashkash

I need to write a program in MIPS that will find the saddle points of a 4x4 matrix. It will print the value of the saddle points and if there is no saddle points it will print a message that says so. A saddle point is a value which is …

Member Avatar for andor
0
140
Member Avatar for therwi

[COLOR=#000000]Your assignment is to write an assembly program that takes a series of characters from the keyboard until a '$' character is entered. These characters must be saved in a stack. Then the program is to print all these characters backwards.[/COLOR]

Member Avatar for qrius
0
118
Member Avatar for sivaramanNainar

Hi all, I am using a testing utility to diagnose my memory. when i am running it hangs in random places. If i am disable the USB legacy support its working fine. Let me know the reason why USB legacy support enabling giving problem in memory diagnosis. Thanks Siva

Member Avatar for mathematician
0
55
Member Avatar for gparadox

[code] TITLE Proj2 PAGE 56,90 ; I used your Lab05 as a template for this ; ---------------------------------------- ; ; ; This program will take a name entered by the user ; and display it backwards. It will also tell the ; user whether the word is a palindrome or not. …

Member Avatar for gparadox
0
149
Member Avatar for qrius

Hi, I want to write a code that displays a single character at 100 random screen locations. the thing is that I have to use a command "CALL RandomRange" that I've never heard about or have any clue on how to use. Please reply with a code that gives me …

Member Avatar for ithelp
0
59
Member Avatar for nineball_ssj9

what i have to do is Write a program that reads a sentence from the keyboard and counts the number of words and characters entered. Terminate the sentence with special character (of your choice). Display results on screen. and this is what i have so far: TITLE Read Sentences (ReadSentences.asm) …

0
61
Member Avatar for rbulus

08048cf9 <phase_5>: 8048cf9: 55 push %ebp 8048cfa: 89 e5 mov %esp,%ebp 8048cfc: 53 push %ebx 8048cfd: 83 ec 14 sub $0x14,%esp 8048d00: 8d 45 f4 lea 0xfffffff4(%ebp),%eax 8048d03: 50 push %eax 8048d04: 8d 45 f8 lea 0xfffffff8(%ebp),%eax 8048d07: 50 push %eax 8048d08: 68 cc 99 04 08 push $0x80499cc 8048d0d: …

0
65
Member Avatar for FC Jamison

I have been asked to explicitly convert a decimal number to hexadecimal (radix sixteen) number in 1s complement...how the heck is that done? I can convert to a binary number using 1s compliment...do I just take that and convert to hex after the fact?

Member Avatar for FC Jamison
0
159

The End.