2,879 Topics
| |
Ola! I'm still kind of new with the whole assembly language and just need some help with this program i'm writing. What I want it to do is to ask a question -like for a number and then store that inserted number in a variable. And then test whether its … | |
heres my C code this was easy: -Chris g [CODE=c]#include <stdlib.h> #include <stdio.h> extern int numodd( int array[], int size ) ; int main( int argc, char * argv[] ) { int numarray[] = { 2, 3, 1025, 3024, 4057, -3, -1025, -3578 } ; int size = sizeof(numarray) / … | |
Hi guys/girls. I have a program due soon for my assembly class. My teacher expects us to bruteforce through this program, but I'm wondering if theres any other way. Here's my code basically, edx is the pointer to the value located at a position on a sudoku matrix. ie. [edx … | |
Hey guys I have this problem in this question. Q: Write a program to read in a set of numbers(one number per record) and print the sum of the numbers. A header should be printed at the top of the page, each number should be printed(one per line), and the … | |
A lot of problems here. I was to write a program that sorts an array. I had problems overwriting data in an array so I thought I could store the sorted array in another array. Basically it looks for the smallest value, stores it in the first spot, then finds … | |
Hi, I need to write a program (on emu8086), which would convert hexadecimal number into decimal number. I have to do it until tomorrow, but I don't know where to start. Please, someone, help me to write that program. :'(: | |
Hi guys. so i wanna code my own Simple Dos-like OS that boots to a prompt with the simple command of "Hello" which should load a message that says "Hello, World!". Would someone be generous enough to give me some source code that just boots and has the command "Hello". … | |
Good Afternoon, I'm new to assembly and I have to do a small MIPS program. The details of are: You can simulate the algorithm for 16 bits integers, not 32 bits integers. More specifically, we have two integers of 16 bits as input, add those two integers and get a … | |
Hi, i have a problem in displaying the added value of two numbers. I know how to convert the input number into decimal. So after converting it, i added those value and got it stored in a register. My problem is how can I display if the sum is like … | |
Hi there. I am trying to make a program that outputs the word "MATRIX" on every line, with the past line being cleared and making some kind of falling word effect. I am beginning learning assembly, and I need some ideas as to how to make this happen. I am … | |
Can someone help me with TASM? i need a simple shape like sun or anything that is not very basic but hard to do. please i need help. this is one of my gf's finals project requirement :(( please i really need help in this. (i dont know much about … | |
hi i just wonder how to limit an input when a user types a certain number. for example: Input: 5 Input: abacd Output: dcaba here my problem is when a user inputs 5, then the allowed number for inputting characters is 5 only. and then it reverses the string. I … | |
i need a password program in assembly language that if you put a password it displays an asterisk (*) instead of the input characters... hope you can help me. thanks | |
I have a problem getting my assembly program designed to get the first 47 numbers of the fibonacci series to output to a file. I'm not getting any errors except for when opening command window. This is the exact question on my homework problem if this helps : Using Programming … | |
Hello everyone! I need to anticipate that I am very new to the Microsoft developing world, therefore I am not confident with Visual Studio. I need to write an application for a windows server that works with excel. Looking on the web I found that the best method would be … | |
Any decompiler/debugger can convert machine program written in C/C++ to Assembly, but that Assembly is really hard to read, and corresponds to each particular instruction in machine language, not to a C/C++ instruction. So my question: is there a decompiler, that decomplies the C source code to Assembly, not to … | |
Hi all, I am looking for an assembler compiler. This is what I need for, Language Resources XDS-68 Assembler version 3.0 with source files extensions are .MOT .MAC .MAR This source files actually have compiled on VAX running VMS on Motorola M68000 chip. How can we complile multi assembly files … | |
How do I convert this to assembly? [CODE=c]static unsigned char i, j, aResult[15]; /* Define Vars */ static const unsigned char aData[]={0xA0,0x1F,0xA5,0xB2,0x00} ; /* Define Data */ /* Initialize aResult array to all zeros */ for(i=0;i<15;i++){ aResult[i] = 0; } i=0; /* Set index for aData array */ while(aData[i] != … | |
hi everyone! i need help on this code it is a calculator that asked the user to input an expression (eg. 56+2) in one line and output the answer..it suppose to manipulate mdas. please help me fix this code.. (i mean this is not really my code but i did … | |
i made a code to program a clock but there's a problem #1, its a bit messy when i view it in command prompt, the words i typed doesn't disappear so that i view the clock neatly.. also it blinks.. #2, how can i have it on marquee up and … | |
Hi, is there a way to do 128 bit comparison in one instruction with SSE 4.2a? I need to compare if the XMM0 register is 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF If not, what would be the fastest way to compare with two steps of 64bit comparisions? Thanks in advance. | |
[CODE]TITLE Copying a String Backwards (CopyStr.asm) ; This program copies a string backwards. INCLUDE Irvine32.inc .data source BYTE "This is the source string",0 target BYTE SIZEOF source DUP('#') .code main PROC mov esi,0 ; index register mov ecx,SIZEOF source ; loop counter L1: mov al,source[ecx-1] ; get a character from … | |
I'm creating a fibonacci program in mic1, which is a little more readable than other assembly languages so even if you don't know the language it shouldn't be hard to figure out what the code is trying to do if you are good with stacks and recursion. This is the … | |
can somebody tell me how this program works line by line or how the program works as a whole .. this is the code: org 100h mov ax,0013h int 10h mov cx,0000h mov dx,0000h move: cmp dx,00c6h je row cmp cx,013bh je row2 add dx,9 add cx,9 mov ax,dx mov … | |
Hello, I am just starting and introductory course in Assembly. We are using 8086, and I am having trouble with the assignment. We are to start with the number 1, and then double that number 18 times, and print out each number in hex. For example, output should look like: … | |
Can someone please suggest some good books on BIOS programming. | |
hi guys pls. help me with this. I want to limit the times when the user would guess the word for 3 trials only. How will i do that? PLs. see my code below: [CODE] TRYAGAIN: mov cx, 12 mov bx, 0 AGAIN: mov ah, 01h ; read a char … | |
Could someone please tell me how to compile an assembly program. I have the code, but I can't compile it. Also, my "Hello, world!" program does not run when using Flat Assemble, a compiler I got off the internet. Here is my code: [CODE].386 .model flat, stdcall option casemap :none … | |
hi guys just want to ask about how to translate this c code into assembly language: [CODE] int x = 1; while( x <= 3 ){ x++; printf("Sorry try again!"); }[/CODE] any help would be greatly appreciated! God bless! | |
I am using an assembly compiler to try and print the first 12 numbers. I have succeeded in adding, but it won't print some of the numbers. I want. 1 1 2 3 5 8 13 21 34 55 89 144 BUT GET. 1 2 5 13 34 89 233 … |
The End.