2,889 Topics

Member Avatar for
Member Avatar for cbalu

I am working on a embedded board with MIPS architecture and i have a requirement to initialize the 128MB RAM by writing zero's onto the memory. I have coded the following thing [CODE=ASM]// RAM initialization part li t2, 0x80000000 //RAM starting address li t3, 0x02000000 //(RAM size/0x04) ( 0x08000000(128MB)/0x04 ) …

0
84
Member Avatar for destruct0

Hi!!! I have little problem. When i try to execute my program: section .data section .text global _start _start: mov ah,00h mov al,45h ;('45h' is just example) int 10h I get the message "Segmentation fault". I suppose I get this message because my video card it's new model. Ati Radeon …

0
79
Member Avatar for bobrien314

[code=x86] org 100h section.text openfile: mov dx,sendfile mov al,0h mov ah,03dh int 21h mov bx,ax mov [filehandle],bx filelength: mov ah,042h mov cx,0h mov dx,0h mov al,002h mov bx,[filehandle] int 21h shr ax,7 shl dx,9 or ax,dx mov bx,ax mov [filediv128],bx mov dl, bh mov ah, 02h int 21h mov dl, …

0
91
Member Avatar for TheBeast32

Hi, I want to learn assembly and have looked at tutorials I found on google. It's really freaking complicated, so do any of you know of any good tutorials on assembly? I'm on Windows XP 32 bit with an Intel CPU.

Member Avatar for Narue
0
197
Member Avatar for tojas

Hello! 3 weeks ago I started to search the secrets of vesa programming... and now I can forwrd with this problem.. :( I know I learning very slow, but... I think the important is that I want to learn :mrgreen: So here is my code: [code] section .code start: mov …

Member Avatar for lewiscowles
0
272
Member Avatar for ronjbull

Hiiii..... I want the C-code of an assembler which should have the MOT,POT,ST,etc tables used and also the use of location counters(LC). Can anyone help me????

0
70
Member Avatar for alkeshtech

Hey guys, I am writing a program which reads in 2 floating point numbers from file and write the output to a file. The multiply part is very easy, but I can't seem to figure out how to write f loat to a file.

Member Avatar for rahul8590
0
99
Member Avatar for massivefermion

Hi I have 4 questions 1-Is it right that when you learn assembly you learn machine language,too?How? 2-What makes a programming language feature OS dependent? 3-Does Assembly have OS dependent feature?what about HLA? 4-How can i write an OS independent program(bootable programs)? thanks alot

Member Avatar for BestJewSinceJC
0
122
Member Avatar for Ronen444

Hi all! I'm learning Assembly by my own with FASM, but i'm having trouble running and compiling some codes... like this, for example: [CODE] CODE SEGMENT ASSUME CS:CODE, DS:CODE START: MOV AX, CODE MOV DS, AX CODE ENDS END START [/CODE] i get an error about the "CODE SEGMENT" one. …

Member Avatar for rahul8590
0
152
Member Avatar for adling11

hi every body i need your help please in a program in assembly i've to make a program that contains a listof names of students and theirs points (like: jack 15) and we order the list once by alphabetical order and the second time by descendent point please i need …

Member Avatar for rahul8590
0
75
Member Avatar for midimatt

Hi everyone, got a slight problem. trying to make a program that takes the users input and puts it into a string untill it detects a CR character then outputs the string, i've made a start but i'm at a dead end on what to do. [code=ASM] BITS 16 ;Set …

Member Avatar for rahul8590
0
117
Member Avatar for Matt23488

I am working on homework for my x86 assembly class. The purpose of the program is to open an existing file and display the first 20 lines of the file and then pause, display the next 20 lines, pause, etc. until the end of the file is reached. My professor …

Member Avatar for Matt23488
0
192
Member Avatar for shadwickman

Hello! I just started trying to get the grasp of Assembly a few days ago, so I decided to write a program to print the Fibonacci numbers up to the 25th one. I'm using NASM, and it's for the x86 processor. I came up with this code, but it'll loop …

Member Avatar for shadwickman
0
2K
Member Avatar for mahafuz_eee

Hello Gyes! I am very new in Using emu8086 and i need a code about this Program Problem: I have to convert a Hexa input to a Binary Output using emu8086. 1. Hexa number will be placed in AL 2.And output Binary will come in AX+ DX, Memory address will …

Member Avatar for mahafuz_eee
0
96
Member Avatar for lostname

hi everybody...i need to assembly code of 'type command (dos) '. can u help me please?

0
45
Member Avatar for fortune2k

Hi im trying to make a program to the following specifications: 0) initialise a temporary numerical value to 00H, base value to 10H and count value to 00H 1) Read in a character 2) Apply series of checks against ‘0’-‘9’ and ‘A’-‘F’ and convert the digit to a numerical value …

0
101
Member Avatar for alkeshtech

Hi guys, I know whene we shift left, MSB is moved into carry flag. Is it possible to store the value in carry flag into a variable? What i want to is, multiply the bit in carry flag by some number. So that, once I have the bit in a …

0
75
Member Avatar for massivefermion

Hi men could you introduce or even upload a PDF for me to learn x86 assembly language. thanks a lot

Member Avatar for ddanbe
0
145
Member Avatar for vipinsgangwar

hi all, I have to register a dll in my application where i am using payment gateway. can anyone tell me the procedure of registering a dll on ftp. do we follow the same procedure as we do on our local machine. thanks in advance.

0
66
Member Avatar for rom87

How likely is it that a newbie programmer in asm could mistakely cause hardware damage to the cpu etc by running some bad instructions. How likely is it ?

Member Avatar for MosaicFuneral
0
60
Member Avatar for ssDimensionss

hi all, i got a program that calculates the fibonacci numbers and prints them out, looks something like this: main: li $s0, 0 li $s1, 1 loop: slt $t0, $s1, $s0 bgtz $t0, done addu $s2, $s0, $s1 move $s0, $s1 move $s1, $s2 li $v0, 1 move $a0, $s2 …

Member Avatar for MrSpigot
0
104
Member Avatar for ssDimensionss

ok i know this is the command for reading an integer but where does it read the integer from? I got a factorial program, heres the beginning of it: [ICODE] .data prompt: .asciiz "you want n! for which value of n?\n" .align 4 n: .space4 i: .word 1 fact: .word …

0
84
Member Avatar for waqar711

can any one help me with this: to write a masm program to [U]calculate and display [/U]multiplication table of any number like 5 ? thank you

Member Avatar for waqar711
0
77
Member Avatar for shevy24

hi there,I'm stucked in trying to right the correct code for this assembly program, when i try to run it on DOS it's saying "EXTRA characters on line", i can send u the code if u wish to check......

Member Avatar for rahul8590
0
545
Member Avatar for shunnet

Hi All, Is there no possibility to find that assembly today. I am running VWD 2008 and would like to test a fade-effect example with that assembly. Waiting for your valuable reply! Thanks! Shun

0
59
Member Avatar for comprogrammer

I am having a hard time trying to figure out how to combine two arrays using MIPS. I have completed the code to populate 2 arrays and sort them, but now i need to combine them. I know i need 3 pointers, one for one array, another pointer for the …

0
47
Member Avatar for maveee

hello am new to assembly and i have a question abt the real mode segmented model !! ... how can i move the address of a variable that IS NOT in the data segment but in my Extra segment to a register .... cuz usually the mov instruction assumes that …

0
43
Member Avatar for PeKa

Hello everyone. I need to know what FindResourceA is looking for. I am adding this function to prevent people from opeaning some aplications on game client. I'd like to see some exaples too. Could someone also check if this function look fine: [code] PUSH ESI MOV ESI,DWORD PTR DS:[<&kernel32.FindRes>; kernel32.FindResourceA …

Member Avatar for PeKa
0
139
Member Avatar for shea279

Anybody know a good disassembler or general tool to convert an exe into a shellcode array? I don't really know what catagory this would fit in, but this seems the closest..

0
71
Member Avatar for chocoglass

Hello :) I am working on an assembly game (big task for an assembly newbie like me), and I'm wondering if it's possible to both keep time and wait for user input at the same time. This is how I keep time: get system time, save the unit for second. …

0
69
Member Avatar for Mr.MJ

I am new in Asemply language and the little man so I would be thankful if someone shed me a light how to write a program and multiply 2 numbers together.

Member Avatar for Mr.MJ
0
131
Member Avatar for OzY360

Right, i've got my program working and it does what its supposed to do. You will see in the code that i have several Macros and i think there is something wrong in the 'UpToLow' Macro, so just look for that label. I cant figure it out... basically what the …

Member Avatar for OzY360
0
113
Member Avatar for fpk

pls tell me a link to download the book 'system programming and OS' by Dhamdhere, for free

Member Avatar for NicAx64
-2
99
Member Avatar for dh_007

my code gives me a 0.0000000 for the result when I try and use the sra $s3, $s1, 1 to divide the number in 2 #this works div $s2, $s1, 1 <when I use this it prints out the number entered. I also have tried putting the numbers in f …

0
70
Member Avatar for popperik

Hello everybody, I'm pretty new to assembly, and I was experimenting with string output, when my program started freezing and crashing. I'm using service 09 to write text, and it has no problems with "Sstract", but when I change it to "Substract", it starts to behave weird. I've also found …

0
46
Member Avatar for hhhassan

Hi , I want to program an assembly program that can manage multiprograming . a code that can execute two sub programs together. I want the source code if it is possible. if not please mention about the interrupt. Please Please Help Me. I need it. Please. <SNIP>

Member Avatar for achadya
0
109
Member Avatar for learner2

How can we get our name in reverse order in a Assembly language, like Maria...airam..plz write the code

-1
75
Member Avatar for Mehwish Shaikh

hello friends: I am a student of Assembly language and making some programs to have an insight of this language.. along with i am also supposed to submit a project at the end. I've made this program, which'll convert tempt from celsius to fehrenheit and vice versa..It's compiled in masm611 …

Member Avatar for Mehwish Shaikh
0
1K
Member Avatar for whocaresit

Hi, Can any one point me on how to convert this instruction into GCC compatible one? These are some of the instructions I am most confused about! [B]src is a pointer.[/B] [code] prefetchnta 128[ESI]; //Intel version, ofcouse mov esi, src; mov ebx, size_t; movntdq 0[EDI], xmm0; //move data from registers …

Member Avatar for MosaicFuneral
0
74
Member Avatar for guitarlady3000

Hi everyone! I'm new here and I'm very new at this language so here it goes: I am writing a little program that converts a decimal input to a 16 bit binary number, and it will keep asking for input until the user types in zero. I have already written …

0
44
Member Avatar for alkeshtech

Hi guys, I am kinda confused on how to read integers from a file, named input. txt. Here is what i have: [CODE] TITLE MASM Template (main.asm) INCLUDE Irvine32.inc .data fileName db "input.txt", 0dh, 0ah, 0 fileHandle dword ? err_Msg BYTE "Cannot open file", 0dh, 0ah, 0 .code main PROC …

0
65
Member Avatar for Drake

What does the software or computer actually do when you compile a program using a software tool such as MPASMWIN. Just need to know what compiling actually does?? Would be great help cheers

Member Avatar for tux4life
0
94
Member Avatar for hellIon

hey guys can u gimme some links ,resources or codes.....which can show me how to use api in assembly 32-bit i am using masm32

Member Avatar for MosaicFuneral
0
116
Member Avatar for Thug Heart

Hi All , I have a question regarding to if statement ,,, my question is : How can I compare between 2 values ?! let's suppose I want to see if (x > y ) print "x greater than y" if ( x < y ) print "y greater than …

Member Avatar for Thug Heart
0
98
Member Avatar for learner2

if anybody knows the details about 40 pins of 8088/8086 then plz let me know.as soon as possible.thanks

Member Avatar for ddanbe
-1
75
Member Avatar for learner2
0
53
Member Avatar for mickeyken

Write a program that calculates the value of x using these two formulae: w = (22102 * -12)/(18 – 3) x = (12032/w) * (2354 + 34) Use the properly-sized signed or unsigned operands as appropriate. Demonstrate that your answer is correct by using the debugging software to walk through …

Member Avatar for mickeyken
0
69
Member Avatar for Ineedhelpplz

This is a part of my homework. I have completed part 1. Part 2 asks that I re-write my part 1: [CODE]"Write a modified version of part A, in which the function is to be called as though it had the following prototype: void sumPowers(int n, int *pSum);[/CODE] is this …

Member Avatar for Ineedhelpplz
0
124
Member Avatar for kamikazee789

Can someone create a code for me that prints all the 2 to 7 words from the input given by the user? Just like in the game text twist?.. please :(

Member Avatar for Salem
0
31
Member Avatar for Linda1

I am trying to build an lcd file. The project is, using a dragon 12 lcd, we need to put a string in 0,0 (top) lcd screen position and another string in 0,1 (bottom screen position. The strings has to rotate around the screen. I did part of the code …

-1
67

The End.