NASM assembly programming within the x86 (i386) architecture.
; The purpose of this lab is to expose you to programming in assembly. You; will gain first-hand experiance of the the joys and sorrows of this paradigm.; You will be developing a...
View ArticleDivision of 2 signed integer numbers
hello,i have to write an assembler code for the 8051 microcontoller.the division of two signed int numbers (range -32768 to 32767).can someone post the code?
View Articlei need help..
im having a prOblem with my code..its dOne actually but there's missing..its a conversion of an uppercase letter into a lowercase..it is required to display an 'INVALID' whenever i entered a...
View ArticleString Entry from keyboard--Could somebody help me?
I am asked to make a program in Assembly that I have to extract a sub-string from an initial string that would be entered from keyboard.From the keyboard I also have to enter two numbers. The first...
View ArticleHELP!!!!!!!!!!!
Hi - I am trying to complete a project for my Advanced Higher Computing project, that involves me using Assembly Code to compare 3 numbers, then redirect to where necessary. However, when the compiler...
View Article[x86 Assembly] Help with an algortyhm.
ok guys, I don't know who else to ask. I'm pretty much screwed if someone of you doesn't help me.Let's get to the problem. I've had a problem to solve, I've made the algorythm, all cool. Problem is,...
View ArticleI Am Working On An Assembler
I Am Working On An Assembler For X86 CPUs Using The Python Programming Language, I Was Wondering If There Was Anybody Here Who Has Any Experience In Writing An Assembler, Or Anybody Who Knows Python...
View ArticleRunning programs from command line in asm
Hi!I'm currently programming a os in asm, and currently I need help with one thing.How do I run binaries from my boot-floppy?I'm currently setting up the kernel to read fat16, and it reads the...
View ArticleHelp For A Beginner
Hi all,I am a beginner in assembly. I prefer masm16. It seems right to choose it for me as a beginner.I have studied the language basics. Now I am practising by writing some code. I want to write a...
View ArticleKeyboard (Int 16h Int 9h or port 60h)?????????
What I want to do is read every single key that is being pressed down at any point in timefor use in a fast action game. At frist I thought that INT 16h was the answer but I've been told it's not....
View ArticleProblem in printing array value
Hi, I have encounter problem while i need to display a series number from a array. I am new to X86 assembly language. Can someone guide me or please correct me my mistake. I am using emu8086 to write...
View Articletwo pass assembler for 8085
Hi folks, Can any one help me to implement two pass assembler for 8085 in vb.net? If u have the code pls do send it to me.
View ArticleHow do I convert a register pair to an extended register?
I have this code snippet adapted from the pcasm book by Paul Carter: mov bx, 10d mov ax, 10d mul bx ; multiplied by ax, stored in dx:axNow, how would I store the register pair dx:ax into, say, ecx?
View ArticleHELP! Number Conversion Problem
Hey guys! I am just getting started in assembly language and my head hurts from staring at this problem. I'll paste in the program requirements, then my program and show where I am stuck...any help...
View ArticleMATLAB Assignment Help
I need to find1. List the materials in your database that have Young
View ArticleManually changing SP to prevent stack overflow
I'm still working on my game project (a text-based dungeon crawl in the tradition of several DOS-based BBS door games), although it's coming along further. I ran into a design problem, though, and I'd...
View ArticleLinked List in ASM
I want to write a simple linked list program with ASM .Here's the code which I have tried to write(presently only for single digit numbers) ! However,it works only for 3 numbers and that too has...
View ArticleNeed help with inline assembly in C code
Hi everyone, I'm new to this site and hope you might be able to help me out?So I've been given an assignment to produce this output:[code]% ./hw3b fooslow foo but foo sure% ./hw3b XYZ123slow XYZ123 but...
View Articleslow floating point on Pentium 4
Hi,I have performance issues with the following code:...mulsd %xmm1, %xmm0addsd %xmm2, %xmm0add 1, %eaxcmp 10000000, %eax...basically: for (i = 0; i < 10000000; ++i) { a = a * b + c; }when c != 0 it...
View Article