2,878 Topics
|
|
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 ......................... |
|
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 … |
|
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 |
|
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 … |
|
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 … |
|
hi every body could I color a page with out interrupts ??? If yes , how ???? |
|
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. |
|
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. … |
|
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] |
|
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 … |
|
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, … |
|
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 … |
|
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 … |
|
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 … |
|
Write a program to find the product of two 8-bit numbers (Multiplication) and give the status of all flag registers? |
|
how about a full length basic tutorial for newbiez!?? like me. |
|
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!!! |
|
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 … |
|
Where can I find a program which can record image/Binary on pendrive ? |
|
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 ;) |
|
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 |
|
I have an exercise in my university an it is very important!!! I have a message file with this inside (22ΓAΓAP__ΓPΓP΄_΄_¥P¥A¥A΄2΄2¥2–A–A‡2‡2x2iAiAxPxPi_i_x_‡P‡P–_–n–}–}‡n‡nxni}i}xxi›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 … |
|
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] … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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. … |
|
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 … |
The End.