2,878 Topics
| |
Hi everyone, I am trying to make a timer in assembly. The user has to type the timer value (in seconds) and a beep occurs when the time is elapsed. I think i'm not far from the end but i got an error i can't seem to find :/ the … | |
hello Everybody . . I am a new member and I am looking for somebody can help me . . just I want the code in Assembly language if somebody can write the code for me that do these things :- 1-Make a data file named "datafile.txt" with 100 integers, … | |
Hi, i have got a new question, is it possible to pop from the FPU stack and deposit to general purpose register without doing FIST to memory? Or in other words,, is there any way to do FISTP RAX or something equivalent? (i can't write to memory because of low … | |
Hi, how many 64 bit registers can I use inside intel i7 cpu for storage purposes to feed them later into XMM registers? I currently use XMM0-15, MM0-8, R8-15 only. I know i can use RAX,RBX,RCX, RDX and eight registers inside the FPU (ST0-ST8), but what others can I use? … | |
Hi, i have been looking for this and can't find anywhere about the subject. I would like to know how many clock cycles does it takes to execute each instruction in complete asm instruction set for Intel i7 microprocessor. (including SSE & FPU instructions). Does any one has a list … | |
I'm a old C++ guy, so forgive my ignorance in ASM.. I'm having issues with getting CPU utilization through perfmon, because of a small memory leak in the pdh.dll after being called every 60 seconds for weeks on end. I then tried using MS typeperf.exe, but I found that EXE … | |
Hi i need help please i want program in assembly aboute : we enter a number(not string) and system answer me is it prime or not ! at all i cant convert string to number please give me this program code :icon_confused: | |
When I try to assemble this code: [code=asm] %include "asm_io.inc" %define SIZE 100 ;#define SIZE 100 MOV SIZE, eax ;eax = SIZE CALL print_int, SIZE ;std::cout << eax [/code] I commented the c++ equivelent of the asm code I get this error: error: binary format does not support external references … | |
hello im new at assembly (in english too) and i have a question as you may guess: can i add new lines to exe file? its just for experimental causes not for hack, crack or something like that. i wanna protect my software. so i mean if i open exe … | |
Hi every one My question is that "What is the code of getting or displaying information without 'io.mac functions'? for example,what should be replaced instead of these codes: 1-GetInt edx 2-PutStr 'this is a string' Thank you:) :) | |
hey all, im trying to compare two strings 8 characters long, the first was predefined and the second was entered by the user. i tried used (cmpsb) instruction and byte by byte comparison, but both failed its for a project that requires a student to enter their number and password, … | |
Hi All, I am trying to do reverse engineering i.e. i am trying to get the signature of the function from the arm assembly code. I want to know how can we extract function signature from arm assembly code. | |
Hello everyone, If you had to implement a basic antivirus software for a mobile device (16 bit processor, 8 MB RAM) would you rather use macrodefinitions (and deal with the expansion problem) or procedures (resulting a code with many jumps)? From my point of view, one solution would be better … | |
Does anyone made such thing . I must make it for may classwork but it's too heavy for me Need your help :S | |
hi assembly professionals, i am doing a robot project and i intent to use assembly language to control the brain of the robot which is an atmega168 microcontroller. I have programmed the adc successfully the controller using arduino C language but i have a problem using studio4 assembly. here is … | |
Hi. I am trying to use assembly in C++, and need a few pointers(pun intended) lol I want to use C++ structs as operands, but can't figure out how. my code is like this so far: TEST.CPP [code=cplusplus] extern "C" WORD _add(WORD num1, WORD num2); int _tmain(int argc, _TCHAR* argv[]) … | |
Hey guys im busy with a project using the 6800 Emulator from "hvrsoftware". Well my aim is to get input number from user between 1-9 then it needs to print it out n number of times according to that number. What i have so far is: [CODE]; This program reads … | |
I write a program in C but i have not the right to use the standard library. I want to open a file so i use an assembly procedure that i have write, open_file. Here is what i mean: At C code part:[code] int fp; int open_file(char* filename); .... fp … | |
Hello everyone, I know this forum is more about asm86 but I thought maybe someone knows enough about assembly in general or had some expirience in asm51 as well and can help me with my questions(wich are simple), I needed a 16bit(word) counter and I didn't have appropriate register for … | |
Hey guys I have to analyse a short program for school and the only keyword i cannot find a definition for if ORG. What does this do in assembly code?? Any help would be appreciated. Thanks | |
Anyone here has experience making a PIC based pointing device that can interface with the PC using PS/2 mouse port? Can I have a look at an example of the codes and circuitry? I'm working on creating a prototype of a new pointing device, just as a uni project, and … | |
Do you guys know, how to check how many register i have using DOS command ? | |
using mov ah,01 how can i add two number, i will input two numbers example: 1 2 = 3 how can i add this?? | |
help pls, i input 2 numbers then it will add if i enter.. i use mov ah,01 code and etc.. can u give me Codes for that example of output: 1 2=3 i input 2 numbers then if i press enter it automatically add, can you help me?? how does … | |
The problem isn't with learning it, it's with finding out which one to learn. Assembly differs according to your CPU architecture, all right. Most PC CPUs are built with the x86 architecture? Fine. From my understanding, there's still a multitude of different versions. NASM? MASM? What's the difference between these? … | |
please help me to correct this program: [code=asm].model small .stack 64 .data x DB 'A' y DB '1' LN DB 13,10,'$' .code mov cx,5 L1: mov Bx,Cx mov cx,5 L2: mov ah,9 lea dx,x int 21h loop L2 mov ah,2 mov dx,y int 21h inc y inc x mov cx,bx … | |
hiii plz i need a help in the following Qs using assemply lang i am a Beginner and i dont know how to solve it....plz help. Q1. Write an 8051 assembly program to convert a series of ASCII numbers to packed BCD. Assume that the ASCII data is located in … | |
I am working on a C program that parses code from a high level language and generates MIPS code. I have a question about the logic to test for (in)equality in an IF statement. For example, my code generation for a statement like [CODE]IF a!=b[/CODE] I just use [CODE] else … | |
If the following code executed, what will be the result of it? [CODE]Intel chips use the LITTLE ENDIAN convention. Data transfer between RAM and CPU registers attaches the LOW byte of RAM to the LOW 8 bits of a register. Please refer to the Instruction Set of Intel 8086. In … | |
Hello, Ive just started programming in Assembly and im having a little trouble with the language itself. I wanted to make a program that takes two positive integers and adds them together, and outputs a message if theres a carry over, but i have no idea how to go about … |
The End.