2,878 Topics

Member Avatar for
Member Avatar for Behi Jon

Hi, How can I point to the end of a string ? We have ACTULEN, the length of string . For example : LEA SI, KBNAME + ACTULEN KBNAME is name of our string . But this is not work . Thanks .........................

Member Avatar for NotNull
0
112
Member Avatar for linuxdude

Hello, I am beginning learning intel assembly. I am taking simple gcc programs and looking at the assembly. All gcc outputs have a line similar to: mov DWORD PTR [ebp-4] that I can't figure out. For example [code] int main(void) { int x = 5; return 0; }[/code] gives me …

Member Avatar for NotNull
0
3K
Member Avatar for operator494d

Hi,I'm new to assembly but i cannot figure this out NEG BYTE [BX] ; Negates byte quantity at DS:BX NEG WORD [DI] ; Negates word quantity at DS:[U]BX[/U] first line I understand but how did he get BX register in second line?! thanks in advance

Member Avatar for NotNull
0
81
Member Avatar for destruct0r

Hi! I would like to use timer in my code. And i don't know how to build a real clock. I wish control my loop with this timer. In every seconds the loop do something. I use OS Linux Ubuntu and NASM. Very sorry about my bad English. I still …

0
52
Member Avatar for gianx80

Hi to all! I'm writing an assembly program that at a certain point calculates a square root, then it has to verify if the result is an integer (i.e. 2.000) or a "true" floating point number (i.e. 2.456). How can I do this in Assembly language? P.S. The next week …

0
64
Member Avatar for bahare

hi every body could I color a page with out interrupts ??? If yes , how ????

Member Avatar for sDJh
0
53
Member Avatar for nunos

Given a vector of bytes with length multiple of 8, how can I, using mmx instructions, convert all 2's to 5's, for example? [code] .data v1 BYTE 1, 2, 3, 4, 1, 2, 3, 4 [/code] Thanks.

Member Avatar for nunos
0
103
Member Avatar for helinix

Hello everybody First thanks for your help and the good forum. My question needs a little bit explanation first. I study computer science.I had a course in Computer Organization and design and we had a course about microprocessors with an assignment on 80C51 microprocessor. actually i couldn't do it well. …

Member Avatar for Salem
0
122
Member Avatar for kshetri

i am trying to start using nasm... i did som in masm.. now my problem is, i am not getting proper nasm compiler file..if anyone have their collection working..i would like to get that...:) you can post over here or email to my id [I]<<snip>>[/I]

Member Avatar for gerard4143
0
72
Member Avatar for iamsmooth

Hi, I'm a second year computer science major. Just started learning about assembly programming. Anyways, I was wondering if there was a good IDE that people usually use to program in SPARC, I've looked at the plugins for netbeans and it doesn't seem to support it. I also have looked …

0
70
Member Avatar for Behi Jon

Hi, Why this program in not working ? It doesn't print anything . [code] Page 60, 132 TITLE Reverse characters(EXE) ;---------------------------------------------------------------------------------------- .MODEL SMALL .STACK 64 ;---------------------------------------------------------------------------------------- .DATA STR DB 'txeT desreveR$' ;---------------------------------------------------------------------------------------- .CODE REVERSE PROC FAR MOV AX, @data MOV DS, AX MOV ES, AX LEA BX, STR MOV SI, …

Member Avatar for NotNull
0
85
Member Avatar for opethon

i have a custom made program that is being used to create layouts for harnesses assembly the program is too old obsolete if i may say and the company refuses to renew or replace with auto cad anyway the problem is files created by such program cannot be opened in …

Member Avatar for opethon
0
82
Member Avatar for maisar

Hi I must to do a program capable to order a vector of integers, and calculate the mean and median values of the vector. Also the vector integers is initialized and has a fixed size of 20 elements, and the output data be made to the monitor. This is for …

Member Avatar for maisar
0
527
Member Avatar for warrior_2010

hi , iam new asm and i heave problem exercise the exercise: 1-Make a data file named "file.txt" with 10 integers, each on a separate line and each between 0 and 160. 2. Write an assembly program which does the following: a. looks for the above file in your working …

Member Avatar for warrior_2010
0
91
Member Avatar for strlen

Write a program to find the product of two 8-bit numbers (Multiplication) and give the status of all flag registers?

0
52
Member Avatar for qoaldjsk
Member Avatar for Salem
0
34
Member Avatar for annitaz

I am new to nasm and I need to write oprogram that reads (user input) numbers 0-3000 and converts them to roman numbers. So the user inputs a number between 0-3000 and the the program converts it and outputs the corresponding roman number. Please help!!!

Member Avatar for low_coder
0
931
Member Avatar for kinvaras

First of all, hi to everyone. I need help with an assignment, need to translate this C code to assembly. im getting pretty desperate and thats why im turning to outside help... This code is suposed to calculate sqare roots of 16bit numbers, and is to be implemented on another …

Member Avatar for Salem
0
104
Member Avatar for oneat
0
72
Member Avatar for low_coder

this code was written by me for my projects. all it does is increments by 1 the string which is passed to the function. if you have any improvements to my code ill be glad to hear from you ;)

Member Avatar for low_coder
0
675
Member Avatar for raseel

im new to assembly and have an assembly project to convert arabic numbers(1,2,3,,,,) to roman(V,x,m,IV,,, etc )or ( roman to arabic) i dont know how to start this ,knowing some ideas to do but!!still need heeeeeeeelp

Member Avatar for annitaz
0
130
Member Avatar for gpos7

I have an exercise in my university an it is very important!!! I have a message file with this inside (22ΓAΓAP__ΓPΓP΄_΄_¥P¥A¥A΄2΄2¥2–A–A‡2‡2x2iAiAxPxPi_i_x_‡P‡P–_–n–}–}‡n‡nxni}i}xŒxŒi›i›x›‡Œ‡Œ–›–›¥›΄Œ΄Œ¥}¥n¥n΄}΄}ΓnΓn}ŒŒΓ›Γ›) 128 numbers 1 byte each one and another program a genarator of random nymbers (random.asm) .model small .stack .data crypto db 16 dup (0) .code mov ax,@data mov ds,ax …

0
41
Member Avatar for JackintheMox

Hello there, I am trying to self-learn some Assembly and just picked up The Shellcoder's Handbook. There is a short C program regarding a triangle in Ch. 1: [code=C] int triangle (int width, int height){ int array[5] = {0,1,2,3,4}; int area; area = width * height/2; return (area); } [/code] …

Member Avatar for JackintheMox
0
154
Member Avatar for Icemens

I've have tried to make a function that reads process memory in another process. I have made a function that writes memory which works perfectly, but when i run the function ReadProcessMemory it comes with the error: "Access Violation". The weird thing is it works fine when I do it …

Member Avatar for Icemens
0
287
Member Avatar for brunooo

Hello! I am enjoying trying to learn assembly, I would like to do a code that get from program args numbers and put them in an array. Then I need to print them all. But I cant get it to work, I guess I am making something wrong with array …

0
71
Member Avatar for easy2mem

Here is my awful attempt at converting this: [code] int a=0; if(a!=80) { a+=1; } [/code] to assembly (NASM): [code] push cx mov cx, 80 loop: je short endloop mov al,0xDB call kputchar add word [d],1 cmp cx,[d] endloop: pop cx ... d dw 0 [/code] I am not very …

Member Avatar for gusano79
0
115
Member Avatar for Ancient_Hacker

I'm looking at a thread info block at fs:[0] and everything looks fine, except the stack base and limit are $50000 and $70000, which are okay, as I asked for a stack size of $20000. HOWEVER, the actual ESP is up at $02EExxxx and I can follow the stack chain …

0
40
Member Avatar for Silvershaft

Hey! I was wondering should I learn assembly as I know C++ pretty good now and I look forward to new things to learn. I remember someone said that you should learn assembly then you know really how to program. So what help assembly could provide to me, is it …

Member Avatar for nezachem
0
113
Member Avatar for NicAx64

Hi , these days I'm reading the brans kernel development tutorial. and doing it's particles. So last I find to had to read Intel 80386 programmers manual by intel. In section 2.6 Interrupts and Exceptions I asking a theoretical question here. They said Exceptions are synchronous and Interrupts are asynchronous. …

Member Avatar for NicAx64
0
189
Member Avatar for Noliving

Can someone run my mips code? I'm using pcSpim as my simulator The issue I'm having is that it doesn't correctly output the number of othercharacters. Other characters would be like !@#$%^&*()_+-=.,<>?/ \ The other problem I'm having is that it doesn't output the number of characters there are in …

Member Avatar for lacialec
0
263

The End.