3,896 Topics
![]() | |
.....and vice versa? | |
more registers or something? I know about the advantages and disadvantages of 32 and 64bit bit what is the big difference between processors? | |
Under what architectures do assembly programs run? I mean,what processors can run the same assembly program? program written for p4 processor,on a core 2 duo ,core i3 .and core i 3 on a p4,p2 etc...... program written for an Intel processor on a AMD processor..... and i7 and a core … | |
Hi! I am wondering what's wrong with my code. It's a simple code which is supposed to activate the PC speaker with a DO note. I'm using XPmode on windows7 ultimate 32B SP1, with EMU86 as assembler, runnig the program with CMD (tried also dosbox). The wierd thing is when … | |
.please help me I want opearte the code program .model large .stack 4096 .data msg db 0dh, 0ah, "Demonisch Basic Assembly Language Calculator", 0dh, 0ah, 0dh, 0ah, "Press return when each number is entered", 0dh, 0ah, "(done automatically if 4 digits is entered)", 0dh, 0ah, "You may put + or … | |
I am barely learning x86 assembly, and I am having trouble. How do I address the individual items in an array in assembly? This is my attempt, but I am very confused. char example( char arrayOfLetters[], int arraySize) // arrayOfLetters = {a, B, c, D, e, F} { ~asm{ mov … | |
Hello i have a question ! ha, what is the diffrence between these two sets of code, my proffessor says there diffrent, i just cant figure out why, they both seem to do the same thing, this is my first time working with the coproccessor and im alittle stuck, thanks … | |
hey everyone, im in my first semester of assembly, i had a quick quesiton, im working with the coproccessor now for the first time and i would like to know if The coprocessor stack holds all values as 80-bit reals then what is the largest integer data type that can … | |
how we can write a program ,whech prints its oun source using NASM oder GCC on Linux und mac os x | |
Hi. I need help with the code for a fish race The question I was given is as follows: *You are asked to design a “Fish Race” game. Two fishes of different colors and shapes will race until one of them reaches the race’s end line. Your program should display … | |
I have a very long code line in ASM (a very long array declaration). Is it posible to break it into multiple lines? thanks! | |
Help!!!!anyone who has the idea of creating a simple assembly games!!!please!please!!!even without the codes..just the idea of what kind of game...It's important for me...It's for our final project in Assembly...Thank you! | |
Does any one know if I can find these problemes here ? 3. Problem #3 a. What will be the result of the following code if executed? Comment the assembler instructions MOV BX, 20A MOV AX, [BX+1] MOV CX, [BX - 2] CMP AX, CX JB cxismax SUB AX, CX … | |
I am wondering that if you can make a C# program that is like C++. My meaning with that is that it doesnt require a "Runtime" to work. I ask this becuase i want to write a operating system completely in C# (yes with very few assembly involved). | |
Figured I've been working on material for a while and would throw these up for everyone that needs them in the future to use. It's very simple implementation; if I get enough people asking me to, I will write the methods for each of the instructions so you don't have … | |
I'm writing a basic application that needs to know the mathematical relationship between a jal and its address. For example: jal $000a2000 = 0x0c028800 So my question is how would I get this value mathematically? I've been pondering ways to do it all week and every route I took to … | |
hey guys .i am trying to write a lc3 assembly language program that takes two input numbers and prints out "x * y = z". i can get it to work for numbers 0-9 however any numbers above that i get weird letters or symbols. ^^ Also how i can … | |
Hello all, i really need help with this program, i am a brand new assembly learner/ noob, i need help with a program that ( promts the user to enter a number between 1-10, then when the user enters a number, if it is less then 5 display message1, if … | |
Hi, I'm developing a XNA Windows Game 4.0, and I keep getting this error: The type or namespace name 'Color' does not exist in the namespace 'Microsoft.Xna.Framework.Graphics' (are you missing an assembly reference?) I can't seem to find the answer for this, can anyone help? Thanks EDIT: Solved it color … | |
hello.... i create setup using vb.net 2008 with mssql database...... it is run on my machine without any error but when i install it on client-machin i got this error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception … | |
I got this delay routine while searching the internet for ways to introduce a time delay (4-5 sec) in my assembly program. I fed it into a HelloWorld program to display 'Helloworld' box message after 10 sec from the execution of the program. Here's the code .386 .model flat, stdcall … | |
I've attempted to create a linker for assembly files, what the program does is not the issue here though, I havent used pointer arithmetic in a few years and am definitely rusty in doing so. I'm getting a segmentation fault when I attempt to run the file and would like … | |
Hi! Ok. So I've got this problem. I have a reference to a WebService that provides a whole bunch of classes representing a table in a database. Now, it's a simple thing to retrieve a list of all those classes and store them for future use. What I would like … | |
int i = 0; int A[5]; cin >> i; A[4] = i; while(A[4] < 10) A[4] ++; cout << A[4]; | |
Hi everyone i am new here and i have problem with this code, i need algorithm all code. please help me all master of Assembly :) program has a bug. not change AM to PM in the right time. please help me to change. thank you so much. :) especially … | |
With this program I am supposed to **use ASCII operations to do addition and subtraction on positive integers of any length represented in characters.** I have no idea how to fix this program could anyone help me fix it? Thanks! include irvine32.inc .data msg1 byte 0dh, 0ah, "Enter a number:", … | |
Basically I have to **copy array X to the stack frame and dump the stack frame on the screen before return from the procedure.** The problem is I have no idea how to do that. Also I am not even sure my program is right. I was wondering if someone … | |
Hi everyone i am new here and i have problem with my project this is the project Use x86 assembly language to write a program that works as a following: 1) When the program is executed, it asks the user to enter a password 2) If the entered password matches, … | |
Can someone help me out. I do not know how to dump the stack frame on the screen before return. This program currenlty just copies and outputs the array te the screen. Here is what teh program has to do: Given the data below, design an IA-32 assembly language program … | |
Can someone help me out. I do not know how to dump the stack frame on the screen before return. This program currenlty just copies and outputs the array te the screen. Here is what teh program has to do: Given the data below, design an IA-32 assembly language program … | |
Hello everybody, I'm using Ubuntu 11.10 and I don't know about assembler for linux, but I think there is. Do anybody know about Assembler for linux? Thanks. =] | |
I want to start writing a os, but doesnt really know how. I need a simple boot and kernel to demonstrate how its done. nothing fancy just simple one that will boot and load a kernal. if it isnt to much work maby make it that is can hold files, … | |
My code gives this error: relocation truncated to fit: R_386_16 against `.data' section .text section .data text_string db 'This is my cool new OS!', 0 global _start global print_string _start: mov ax, 07C0h ; Set up 4K stack space after this bootloader add ax, 288 ; (4096 + 512) / … | |
I have a simple wpf panel (user control) which shows a list of items in a panel. I want to show it in the mouse right click event in side another panel(user control) How can I do that, this is wat i have tried protected override void OnMouseRightButtonDown(MouseButtonEventArgs e) { … | |
im trying to count a number of 0nes in an XOR output of binary numbers and need a control structure that will enable a register to increment it content. here is what i have so far TITLE number of ones in an xor output (XorOutputNumberOfOnes.asm) INCLUDE Irvine32.inc .code main PROC … | |
I want to write the code in machine code(binary)then convert it to gates, then to assembly. How can I start? | |
how to write a portion of simple program using assembly language based on the situation below initialized a value in EAX register as 5000h subtract 1500 from the EAX value. multiply the current value of in EAX register with EBX=5 and display the latest value in EAX register. | |
Hi, i'm totally green with assembly language. Now I need to learn it, I always wanted before to to learn this language for my own, but time, never had enough of time. Now I need to learn it from zero - to pass the laboratory at university. Mainly I'm reffering … | |
Hi ..I am aa newbie to micro controller...I have a doubt about the usage of interfacing kit......Why cant we connect a keypad directly to the input port of microcontroller(for ex. 8051)..and the output pin of uC to the led matrix ???? What is the role of interfacing kit in between … | |
Stack-based Evaluation and Simple Subroutine Linkage Hello, I have to Write a program that evaluates 3x2 – 2y2 – 5xy + 20x – 16y + 100 for integers x and y that the user enters. Prompt the user for x and y. Use pread from chapter 26 for this. Use … | |
Here is a question I do not recall being addressed. In the last week I have had to completely rebuild my system. Following a lengthy install and configuration I had to look for the locatiuon of a settings file for an application (to make a backup). Being a dinosaur, I … | |
Stack-based Evaluation and Simple Subroutine Linkage Hello, I have to Write a program that evaluates 3x2 – 2y2 – 5xy + 20x – 16y + 100 for integers x and y that the user enters. Prompt the user for x and y. Use pread from chapter 26 for this. Use … | |
This code: DomainThingy^ thingy = (DomainThingy^)_scriptDomain->CreateInstanceAndUnwrap(Assembly::GetExecutingAssembly()->FullName, DomainThingy::typeid->FullName); Produces this error: System.InvalidCastException was unhandled Message: Unable to cast transparent proxy to type 'Hook.DomainThingy'. Does anyone knows how to fix it? | |
I am new to Powershell and I am trying to get an understanding of it through borrowing script and making it work for my system. I have a script that I thought would take files from a target folder and zip them into a destination folder. It is creating zip … | |
I am using afd debugger which is required for my assembly language course. When running, the afd debugger shows a location of cs different from that shown in debug.exe. I also changed the location of cs in debug but afd cs is still pointing to the old location. | |
I have 16 bit program that i want to look at the source code. It was written in TASM. Is there a way to look at code. Thanks. | |
I have a modified a DLL called UserEnv and I decided to check out reverse engineering and assembly.. When my DLL Loads, it writes and displays a messagebox saying it's loaded.. Sorta like injection into notepad which I learned from: [How To Inject Into Notepad](http://home.inf.fh-rhein-sieg.de/~ikarim2s/how2injectcode/code_inject.html) The DLL Now looks like: … | |
Hey guys, I am making a simple c++ compiler with Visual Studio 2010, but I am stuck on the converting it to assembly bit(with c++ coding). What I am trying to do is convert the code they type(in a cpp file) to assembly, then translate it to machine code etc. … | |
I've got an application that reads all the files and sub folders within the built assembly directory and display it using a datagridview. But I when try to run the application in my network drive to try scanning the files within that drive, it gives out the exception "Access to … | |
I've been trying this for 1 year now and can't seem to find anything useful (yeah, I know I suck). I've made a C++ application with WinAPI which allows me to read and write raw disk bytes with CreateFile(). However, now I need to do it with assembly so the … |
The End.