2,888 Topics

Member Avatar for
Member Avatar for vedel
Member Avatar for Ancient Dragon
0
159
Member Avatar for dhanh90

I have the code here but still can not figure out why it can not work why I enter X=2, and N>= 31.... [CODE].data str: .asciiz " Inter X:" str1: .asciiz " Inter N:" str2: .asciiz " X to the power of N is : " .text main: la $a0,str …

Member Avatar for dhanh90
0
7K
Member Avatar for user543820

i m making a debugger and i want to write a TSR for a debugger so that i can debug any ".asm" file. how should i write it?

Member Avatar for Ancient Dragon
0
52
Member Avatar for extemer

i want to known that i am starting to work on chip programming so i cant understand my first step.The programming language on which i used to work is java and still working.so my question is that how can i program a chip and i don't have any info about …

Member Avatar for lee.j.baxter
0
134
Member Avatar for XodoX

I'm still a beginner, so please bear with me;) I'm supposed to write a code that generates the Fibonacci series. Here is the sample program output: Please enter n (This program generates 0 to Fn) : 5 0 1 1 2 3 5 So, that's what I did.. [CODE] .data …

0
53
Member Avatar for Josue198s

guys i need a assembly x86 compiler..in windows i use MASM615..i dont want to code on windows.i do all my coding in java and C..on linux pleas some help for asm compile on ubuntu 10.10 .

Member Avatar for GuitarComet
0
131
Member Avatar for natostanco

Hello, the exercise says to define a group of locations to define months using a standard number of bytes, and to use 8 bit unsigned to set the number of days for each month... i wrote this DB 'GEN',31D DB 'FEB',28D DB 'MAR',31D DB 'APR',30D DB 'MAG',31D DB 'GIU',30D DB …

Member Avatar for natostanco
0
100
Member Avatar for Federer

Hello I am Beginner in Assembly. I Want write this program to Assembly: int x,y,z,w; w=x*y/z+14; Help me. Thank you.

Member Avatar for low_coder
0
59
Member Avatar for Lightslei

My task was to create a program that would copy a file. Ok, didn't look too hard using the textbook and class notes, heavily borrowing from the textbook. However these 2 errors have me stumped. invalid instruction operands segment, group, or register expected. The first one refers to this: mov …

Member Avatar for low_coder
0
81
Member Avatar for Joey_Brown

Hello I hava a question regarding assembly. How could I take a number from register and find out how many hundreds, tens and ones it has. For example a number 412 has 4 hundreds 1 dozens i 2ones. Ive tried with looping a sub with a BRMI branch, but the …

Member Avatar for low_coder
0
109
Member Avatar for vedel

I have a asm boot on a floppy disc and i want to show a c++ kernel (cuz c++ are easy). but how can i link it? I heared somethig about : extern _main call _main for asm. Can anyone help me? :'(

Member Avatar for vedel
0
222
Member Avatar for link00seven

Hi all, I have been asked for a homework assignment to write, in Motorola 68K Assembly, an algorithm to sort an array and place the sorted array into another array. I have absolutely no idea how to do this...I have been working on it but i'm having a hard time …

0
265
Member Avatar for vedel

Hey Guys! I am vedel and this is my first Thread in this Community. My question is, how i can boot a c++ code? example code: [CODE] #include <iostream> using namespace std; int main() { cout << "Hello World!" << endl; return 0; } [/CODE]

Member Avatar for vedel
0
1K
Member Avatar for Alerwiali

what is wrong with this [CODE];Author : Alerwi Ali ;Function : Sort an array of 10 elemnts(Bubble sort) .model small .stack size equ 10 .data vett db 1,4,3,2,4,-1,-4,0,6,10 temp db ? i db 0 j db 1 .code .startup mov ax,@data mov dx,ax xor si,si xor cx,cx mov cx,size lea …

Member Avatar for Ancient Dragon
0
126
Member Avatar for brando|away

im using fasm (flat assembler 1.68), and im trying to output a string with int21h/ah=09h [code] jmp main msg db "hello world$" main: mov dx, msg mov ah, 09 int 21h [/code] this code outputs "hello world", but it outputs some control characters before it ([SOME WEIRD CONTROL CHARACTERS]hello world) …

Member Avatar for davibq
0
3K
Member Avatar for Alerwiali

Could some one here tell me how to resolve the problem it says duplicate DecimalToString Dos that mean i cant use a macro twice in the same program if yes how to print more than one number Thanks in advance [CODE];Author :Alerwi Ali ; function: Calculate the sum of ; …

Member Avatar for Alerwiali
0
287
Member Avatar for Psyenyde

Hey everyone, my first post here, so lets see if I do this right. So I have this assignment that links a fibonacci.c, fib.h, and fib.s file. The assignment is supposed to be done by compiling all of the files, then running ./fibonacci <n> where <n> is the n'th term …

Member Avatar for Psyenyde
0
517
Member Avatar for bloody_ninja

My project is to take an input file and reverse the text, but first I want to concentrate on just plain reversing a string. This program has no errors, but it doesn't display the reverse string [CODE]INCLUDE Irvine32.inc .data source BYTE "This is the source string",0 target BYTE SIZEOF source …

Member Avatar for Kruor
0
74
Member Avatar for jwill222

Problem that ask to write an application that fills an array with 50 random integers,loop through the array,displaying each value, and count the number of negative values;after the loop finishes display the count. Note: The Random32 procedure from the Irvine32 library generates random integers. *I honestly don't know where to …

Member Avatar for jwill222
0
1K
Member Avatar for J.Killa

Hi...I'm having a little problem doing a program in the LC-3. I have to do a program in which I declare a string and then print it backwards. The other part of the program then wants me to count the number of times each letter repeats itself in the string. …

0
63
Member Avatar for bloody_ninja

Does anyone know how to create ASM code in VS2008? I am so confused and cannot find the method in which I can code in Visual Studio.

Member Avatar for bloody_ninja
0
99
Member Avatar for sidra 100

what r sum applications of very common microprocessors and microcontrollers that uses assembly language as its basic or core language

Member Avatar for coolshiva
0
71
Member Avatar for moonL!ght

i have to submit my assignment after 4 hours and there are fue things i couldnt understand i wich any can help me to understand.... Given DS = 1234H and the declarations: DATA SEGMENT VAR1 DB β€˜CAT’, 3 DUP(?), 0, β€˜0’, ? VAR2 DD 123ABC4DH DATA ENDS and [COLOR="red"]LEA BX, …

Member Avatar for Ancient Dragon
0
82
Member Avatar for gujuplayer

I am not understanding how to convert a 2d array from c to Mips assembly. Like if you had int array[5][2]={{1,1},{2,2},{3,3},{4,4},{5,5}} how would you convert that to Mips assembly and access it like x=array[i][0] & y=array[i][0]?

0
88
Member Avatar for Yeen

First of all, yes this is homework. Secondly, I'm pretty much stuck :-/ As an example, say I have a word: 0000 0000 0000 0000 0000 0000 001[COLOR="Red"]0 0011[/COLOR] ; 35 I want to convert it into IEEE 754 using MIPS: 0100 0010 0[COLOR="Red"]000 11[/COLOR]00 0000 0000 0000 0000 ; …

0
82
Member Avatar for ahmetT

Hello, I'm just working on a fibonacci numbers in 8086 assembly. However it is not working as I expected. All I want count from 0 to 100. If anyone knows, please help me, thanks. Here the code I have done so far: [CODE] org 100h mov al,0 mov bl,0 mov …

0
93
Member Avatar for titan_550

Is it possible to be unable to put two "physical addresses" with a distance of less than 256k in a segment? My assembly professor asked me this. Is this the right answer:"it depends on how you set the align type(BYTE,WORD,PARA,PAGE), if you set it to BYTE the answer is NO …

Member Avatar for titan_550
0
120
Member Avatar for Afupi

This is just an example to show what I am attempting to do. It's just a small portion of a larger project I have nearly completed, but am now trying to tie the existing procedures together. I want to pass the value of the variable proc1_var from procedure1 onto the …

0
70
Member Avatar for dinhtandl

Dear all, I use MASM611 to compile code assemply. Please hepl me to implement functions to read IO or Memory. I have a Base Address (example: 0xE1004000), i want to read IO or Memory at this address. And is that address a IO Addrress or Memory Address in DOS? And …

0
47
Member Avatar for goonj

I am new to assembly so I need help with fixing some things in my code. I need to add three integers and print their sum. The prompt for "Enter the integer" changes color each 3 time it asks the user for entering the number, on a white background. I …

0
64

The End.