2,888 Topics

Member Avatar for
Member Avatar for piso_mojado

Hi, I am new to the world of assembly and am trying to understand the flags and interpretation between an asm file and my cpp code. I basically have an asm function called by cpp file that runs a divide routine and am dereferencing to return parameter value for pointer: …

0
106
Member Avatar for francez
Member Avatar for Jtibs

Hello, I'm looking for some help regarding a MIPS program I have to code. I am very new to MIPS and to these forums so if I am doing something wrong in terms of posting a thread please inform me of it. It has an array of integer values stored …

0
86
Member Avatar for Seriyon

I have to make a program which takes user inputs until the user enters "-1" When the user has entered that, it adds up all of the scores that have been entered and outputs the sum. [code] .data # items stored in data segment .align 0 # no automatic alignment …

0
35
Member Avatar for dem10

Hello all, I am trying to write code for these three functions. 1. readdata: The readdata function has two parameters ($a0 and $a1) which contain the addresses of two integers. The function is to prompt and read two integers. The strings for the prompts are provided in the data segment. …

0
57
Member Avatar for HeadrickBones

Can someone explain the INC in more detail! I know it increments a register by 1. How would you increment a register from one number till it equals another. example: CX from count 0000h until equals number placedd in DX (assume DX is not 0) Thanks

0
34
Member Avatar for .:Pudge:.

How do I create an int variable to store user input? I tried the code below, but when I put in a number it comes out with some random 6 digit number. My assignment is: Write a complete, commented, stand-alone MIPS program to include the same function as this C …

0
71
Member Avatar for emorjon2

hello anyones! I'm trying to create a boot sector using assember. I have compile it into a bin file and put it into the memory stick. when I'm start the computer and press f12 and shoose my memory stick, it may write hello world on screen, but nothing happend! X( …

Member Avatar for sDJh
0
219
Member Avatar for larissalle

Hi, 1) below is an assembly question with the answers in red. I am trying to find out where the numbers 3, 4, 16/4, and 16 came from. I understand they are from intel for the IA32 chipset. But I can't find any table that shows where to get these …

Member Avatar for noop
0
1K
Member Avatar for ahyakho

Hi, i have a project na kelangan ko ilagay yung special character sa ascii to tasm.. but i dont know how kung pano i convert. the code below ay sa paglagay lang ng color o kaya pag clearscreen: mov ah, 06h mov al, 00 mov bh, 07 mov ch, 02 …

Member Avatar for ahyakho
-1
90
Member Avatar for jnr05a

Hi, I've been stuck on this for a while and need some help. My program is supposed to do what this blurb of c++ does: [CODE] int add(short * a, const short *b, const short *c, int n) { for (int i=0; i<n; i++) a[i] += b[i] + c[i] + …

Member Avatar for jnr05a
0
95
Member Avatar for c++lover

hi,all friends im new in assembly, im working on nasm and advance full screeen debug that recommend in my uni, the assembler is working ok but my dos prompt not access the debugger when i give it command like this afd ex02.com then the following error is occur 'afd' is …

0
58
Member Avatar for JeshtLian

Hi! CAN YOU PLEASE ME CODES OF SCIENTIFC CALCULATOR IN ASM TNX.. nEED IT BADLY..

Member Avatar for brandonrunyon
-1
75
Member Avatar for nayefc

Hello, I am trying to write a program that reverses an array with integers. Here is what I have so far: driver.asm [CODE] # Test driver for reverser.asm # .data tsize: .word 10 tdata: .word 2, 3, 5, 7, 11, 13, 17, 19, 23, 29 .text main: la $a0, tdata …

Member Avatar for nayefc
0
7K
Member Avatar for GWalk612

I am writing a simple program to display a character in all color variations of foreground and background colors using setTextColor. It is my understanding the procedure uses 4 bits for the foreground and 4 bits for the background. In my code below there apparently is an error in the …

0
49
Member Avatar for k-chi

Need Help to fix this code because I can not find the errors so they can read successfully. Pila SEGMENT STACK ;Segmento de pila DW 64 DUP (?) Pila ENDS Datos SEGMENT ;SEgmento de datos Filename db 'C:\Tasm\BIN\Prue.txt',0 FHndl dw ? msjFrase db 13,10,"Escriba la frase:$" ERRORS db 13,10,"Error con …

Member Avatar for gusano79
0
115
Member Avatar for .:Pudge:.

How do I change the following code to be from a sum of squares to 100 to a sum of cubes? If you can help will you please point out the line(s)? Thanks. [CODE]# FILE = figA4.s # From jws@cs.uga.edu Tue Oct 7 08:46 EDT 2003 .text .align 2 .globl …

Member Avatar for Greywolf333
0
104
Member Avatar for .:Pudge:.

I need to change this code from a sum of squares to 100 to a sum of cubes. What code do i need to add or change and what lines? Thanks [CODE]# FILE = figA4.s # From jws@cs.uga.edu Tue Oct 7 08:46 EDT 2003 .text .align 2 .globl main main: …

0
43
Member Avatar for jwebbo

Hi everyone,I need your help. I am trying to measure a lead acid charging and discharging current with the PIC. I already have my program up and running but my problem is the sensing charge and discharge current from the battery. can anyone help me with a DRAWING PLEASE?????

0
31
Member Avatar for timogoosen

Hey I can program in C,little bit in Python and Pacal and I really want to learn assembly. I'm 18 and finishing high school, programming is my hobby because school work sure isn't much of a challenge. I've downloaded a few books on Assembly they are: The Art of Assembly,Assembly …

Member Avatar for timogoosen
0
202
Member Avatar for abdelhakeem

Hello all, I'm very beginner in x86 assembly language, I saw that there are many assemblers avaliable, but which one to start with, regarding that I want to program in 32-bit pmode but without using any external APIs (e.g: Win32 as in MASM)... Thanks...

Member Avatar for abdelhakeem
0
110
Member Avatar for GWalk612

Hello, I am working on writing a simple assembly program that would build on a RandomRange procedure already defined in a link library that generates a pseudo-random integer from 0 - n-1. I want to write a procedure that generates a random integer from m -(n-1). Just looking for some …

Member Avatar for GWalk612
0
56
Member Avatar for abdelhakeem

Hello all, I'm very new to assembly programming, even I didn't start programming in assembly, I'm just learning some basics. I've been confused about x86 assembly and 8086 assembly, I know x86 is a family of processors produced by Intel, which starts with the 16-bit 8086 and ends with the …

Member Avatar for mathematician
0
188
Member Avatar for geno93n0

I need help converting numbers... I'm supposed to make a program that takes an input, which can be binary, hex, decimal or octal, then convert said input to the remaining bases. It's supposed to have a menu, where I can pick the base of the input. I found a code …

Member Avatar for scarlet21
0
399
Member Avatar for satishsingh

how kernel interact with hardware.???they says kernelsr mainly written in assembly language n then it is converted to machine language. bt even i cant feel how machine language accomplish our work wot we wish for can ane one explain concept fully or some refrences

Member Avatar for Auraomega
-1
117
Member Avatar for AlexFr

I have problems accessing the process command line from Linux 64 bit Assembly program. To reproduce this with minimal code, I made this 32-bit program which prints first 5 characters of the program name: [CODE] .section .text .globl _start _start: movl %esp, %ebp movl $4, %eax # write movl $1, …

0
78
Member Avatar for siggivara

I'm no assembly wizard, but I'm writing a bootloader and I get a few compile/assembler errors I haven't been able to find a solution to: Heres the error messages and the code that it applies to: [CODE] os_size: .word 0 .word 0 lea %ax,os_size # Error: suffix or operands invalid …

0
52
Member Avatar for Mbot

Hey, Im learning assembler and have written as small test program. the aim of the program is to take a char input from the keyboard and compare it wit "A". This section of the program works. At the start of the program I want to output a message just to …

Member Avatar for 1stDAN
0
177
Member Avatar for jwebbo

Hi everyone,i am seeking your help. I am trying to program the PIC 16f877 microcontroller to accept multiple analog inputs and give readouts on the 7-seg display. the conversion is of a 10 bit resolution. my problems are that i cannot seem to get the pic to correctly display the …

Member Avatar for 3ak
0
113
Member Avatar for Josue198s

Hey guys i need the list of all assembly registers for Intel processor that I can use in Masm615 for integers, double and longs. I only Know this one “ax”, thanks Guys. Moving from java to assembly it is being a pain...

Member Avatar for Josue198s
0
79

The End.