2,889 Topics
![]() | |
Okay I am trying to create a program that takes in 10 integers, then prints out the Max integer and the Min integer. The first loop reads in the 10 integers and the second one is supposed to print out the Max and Min integers. The problem I'm having is … | |
Hi, im interested in learning assembly... anyone know where I should start? | |
Hi all, i need an assembly 8086 code that compare between numbers from 1 to 99 and write output messege contain > or < or = can any body help me | |
.model small .stack 64 .data error_alpha db "Invalid input. Expression contains letter/s. ",13,10,"$" error_range db "Invalid input. Operand/s may be out of range. ",13,10,"$" error_overflow db "An overflow has occurred. ",13,10,"$" error_invalidinput db "Invalid Input. ",13,10, "$" redo db "Please enter a valid one.",13,10,"$" newline db 13,10,"$" inputlen dw 2 … | |
I am supposed to draw a box with coordinates UpperLeft(5,70) UpperRight(5,10), LowerRight(20,10) LowerLeft(20,70). I can't figure out what I am doing wrong. HERE IS ME CODE. [ICODE]TITLE BOX INCLUDE Irvine32.inc .code main PROC COORDS BYTE 5,10,20,70 UL BYTE 0DAh UR BYTE 0BFh LL BYTE 0C0h LR BYTE 0Dh VERT BYTE … | |
hello to all! :) i've a trouble in completing the very very very last code for my thesis in computer science. I'm playing with interrupt hooking in 16 bit DOS mode, but my code acts strange: ------------------------- ORG 0x100 ; old int21h mov ax, 0x3521 int 0x21 ; save it … | |
i'm newbie here.. i'm not a programmer.. i'm really interesting with this kind of application.. it's a chat application.. it is made with asm.. it has 4 button: Join chatroom, Leave Chatroom, Kick and Send Text.. can any1 help me to modify this application so there are new feature like … | |
I am trying to write a program using direct addressing and pointers on the number and create a 32 bit variable from 10136654 All operations will be done in 16 bit registers like ax, bx, etc. But how is this possible if it must go in 16 bit from 32 … | |
Hey I'm using MIPS and created a Fibonacci program and am not sure that its working correctly. When I enter 1 it returns 1 like it should and when I enter 0 it returns 0 like it should. However when I enter a number that takes it into the Fibonacci … | |
Im making a simple sort program in tasm but im not very good, Iv got it to work with numbers (as seen below) but i have no idea how to get it to sort a list of strings in assembly any help would be nice [CODE]title sort .model small .stack … | |
will pay 40 usd paypal to someone who can do these simple programs, up front. pm me | |
Hey there everyone.. I'm pretty new in this forum and also with Assembly, to be honest I haven't programmed anything in Assembly. I'm a VB Programmer and I work with some C/C++ But well that's not the reason I'm here hehe. On the forum I work at one of our … | |
Now i have been able to create the gdt's and when i change to pmode, will a short JMP flush the instruciton prefetch queue? here is a sample of my code and the gdt and gdtr content, [code] mov ax,07c00h mov ds,ax lgdt [ds:descr] ;switch to pmode by setting bit … | |
Hi, I am pretty new with assembly so please bear with me if this question sounds stupid :) I am teaching myself OS development from resources of the web. I came across this tutorial [URL="http://osdever.net/bkerndev/Docs/gdt.htm"]here[/URL] which talks about setting up GDT. I don't really get it when it is to … | |
Hey everyone, I'm new to ASM (only have some basics in coding), and I'd like to know if anyone could help me here. What I'm trying to do: I'd like to convert the letters (from a name entered) to ASCII, and add all their values. For example, [B]gbouchard[/B] would be … | |
below is my code.. i need to make this code read 3 digit and add it.. i know i lack a loop here.. i tried to make a loop but it didn't work. So here it is the original one that i made, that is working and reads one digit. … | |
I have an assignment due coming up and i am having a little bit of trouble. the purpose of the assignment is to reverse the values an array with the first value being the length of the array, I thought everything was done right but it won't reverse, actually nothing … | |
I'll tell what I know and then I will ask questions. Please correct me where I am wrong Suppose I have two cores in my CPU or 2 processors. What i know is that it is the duty of the operating system to give me a processor to execute my … | |
Len_data Equ 14 Xcoord Dw 0 Ycoord Dw 0 Ascval Dw ? Dispdata Label Byte Xmsg Db 'x = ' Xascii Dw ? Db ' ' Ymsg Db 'y = ' Yascii Dw ? .code A10main Proc Far Mov Ax,2 Mov Ds,ax Mov Es,ax Call B10initz Cmp Ax,00 Je A90 … | |
Can someone help me undestand each line of code. I used emu8086 for this program.. Any help will be appreciated! Title Fibonacci series ; Fibonacci series ; ; Write a program that generates the first 15 integers ; of the Fibonacci series {1,2,3,5,8,...}. Beginning with ; the third element, each … | |
I need this translated in MIPS can anyone help me out? [CODE]#include <stdio.h> int n; int row[8], s = 0; bool safe(int x, int y) { int i; for (i = 1; i <= y; i++) if (row[y - i] == x || row[y - i] == x - i … | |
Hi, I'm new to assembler and I really need to make this work as it's crucial to my success in this course at college. Normally I wouldn't ask for help, but because time is such a factor now and due to my limited understanding of the language, I feel I … | |
[CODE]start: initIO * Initialize (required for I/O) lineout title continue: lineout skipln lineout prompt linein buffer * Get input cvta2 buffer+6,#4 move.l #2008,D1 sub.l D0,D1 move.l D1,D0 ext.l D0 cvt2a age,#3 Stripp age,#3 lea age,A1 * adda.l D0,A5 move.b #'.',(A5) adda.l #1,A5 move.b #' ',(A5) adda.l #1,A5 move.b #'*',(A5) adda.l … | |
hi..im a new member and i would like to ask for the code on how to convert a decimal value inputed as string,since all inputs in assembly are in string or character),to its hexadecimal equivalent..thanks.. | |
Hello from russia:) sorry for my english I'm lookin for asm programmers who has experience with bios programming in subject context. I don't know were to post this... i'm talking about money for onetime job. PM me please (also if u can recommend me someone) | |
I need an assembly program to add 12 bytes residing in locations starting from 2400H and store the sum in location 2500H (result space 2 bytes). For 8085 8 bit microprocessor. can anybody write the program????? Please that would mean alot to me thanks................. | |
I've been working on a program which reads in a sequence of numbers entered by the user. It's read in as a string and then converted to numbers. Then I am suppose to get the sum of those numbers and report it back. I got most done and I know … | |
I have to have an assignment in by thursday which asks to change lowercase to uppercase but I can only get it to change from uppercase to lowercase. I have tried everything I know and nothing will work. Here's what I have: .data str: .asciiz "HeLlO" ans: .asciiz "Uppercase String … | |
Basically for a class project/assignment we need to take another persons program in class and correct it for them, if they are good at assembly then your in luck if your person is bad like mine seems to be your screwed. Below is the exact code they posted, I've gone … | |
hey, basically I have an assignemnet to write a C and MIPS code to determine if a number is a power of 2 or not.(that is only a beginning part to the main core of this assignment which needs this code to be used later). I'm capable of doing the … | |
I am trying to understand SHR and ROR registers, the professor gave us some examples that I can't understand so I will make my own and hope I understand it better. If I had 1234h in the eax register for example, how do I know what the number would be … | |
i got an assignment it has to display the mouse pointer and at the same time the x and y coordinate. can anyone help me? i've found the codes for displaying the mouse pointer just got some problem with the implementing side. thanks a lot. | |
Hi, this is my first post i greet all the members. I would like for someone 2 please explaing the Essence of Assembly programming in 2days world where every 5 years latter a new HL programming language emerges. I have already studied 8086 assembly language and worked on it (not … | |
can someone teach me k-maps and boolean algebra.... also give me the links to some ebooks which explain the basics of k-maps if u find any. | |
I have an assignment and i need help in it i need to write a program in assembly for 8085 microprocessor and its very dificult can u please help me?????????? Here is the question Rearranging Bytes 16 bytes are residing in locations starting from 2400H. Transfer those bytes in locations … | |
My questions is a simple/hard one, whats a stack on an intel machine? I don't a need lesson on how to use one for I already know how, its just that I really don't know very much about them. Like how come you can automatically allocate memory on them by … | |
So I have taken on an extra credit assemly code challenge, and I am having a hard time getting started. What I need to do is be able to divide two 16 bit numbers and then display that answer. I can figure out how to divide a 16 bit number … | |
Hi I need help with this ASAP. I'm a third year elec. engineering student who has to take a substitute module to C++ programming as they have discarded that module altogether. my college have landed me a module that severly deals with MIPS and them being the non experts feel … | |
I am supposed to write a program to show all possible color combinations, but I am having problems. It will give me all 256 colors, but not in all possible combinations. Here is me code. [ICODE] include irvine32.inc .data colors byte 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 .code main PROC mov ecx, 16 mov esi, … | |
Hi guys, Ive found out that the only way to have a value larger than 255(for a variable) is by increasing the value of another variable every time the first variable overflow. By the way im using pic16f84 and im currently learning how to program in assembly language. Example, "counta" … | |
I'm trying to program a PIC16F886 as a I2C slave device using the code from Microchip application note AN734. I've compiled this example source code using MPLab 7.6 and flashed my PICmicro with the image. Now I am trying to talk to the chip using the AARDVARK I2C/SPI TOTAL PHASE … | |
I am having a problem with nested loops. When I run the program it gives me the first 16 results want then it prints out more values than I require. I want it to print out 16 values then stop. I also do not know how to change the foreground … | |
I keep getting operand size conflict errors when I run this program I cant seem to get it right! Write an assembly language program that will use multiple precision arithmetic to add the following defined word (dw) numbers in defined 16-bit registers (like ax, bx, cx and dx). (hint: use … | |
Hello Any Can tell me the service numbers for getting following information i have seen Ralf Brown's Interrupt List [url]http://www.ctyme.com/rbrown.htm[/url] but i did not get proper information or don't get proper information with this list Processor Information (vendor ,family name,speed etc) , Disks Attached, Floppy Size Haroon Idrees | |
I want to make simple C Program which show current directories and files like dir or ls .This should be use interrupt for getting current directory and its subdirectories and files.Help me to make this program. I Saw 21h interrupt with its service 47h and 4Eh . Thanks | |
Hello, everyone. I'm learning assembly and can't figure out whether the INC instruction affects the C bit in the condition code register. I understand that the INC instruction increments memory or accumulator by adding one to the number in the specified register, but does that include the C bit in … | |
hai everyone, im annie from malaysia.im in final year and do my final year project.here i need help from anyone to get a guide and some comment about my project.my project is LOW COST SECURITY SYSTEM USING PIC16F84A,where i focus on home security system. i have test my magnetic sensor … | |
seems like every time i write a program in assembly i get these errors. all i am trying to do is multiply these two numbers, but this happens 1>z:\assembly\p2a\new folder\p2c\p2c\p2c.cpp(27) : error C2443: operand size conflict 1>z:\assembly\p2a\new folder\p2c\p2c\p2c.cpp(28) : error C2414: illegal number of operands 1>z:\assembly\p2a\new folder\p2c\p2c\p2c.cpp(29) : error C2443: … | |
i was asked to create my own boot disk that would just display my name in the screen. I was told that i am not allowed to use the files from microsoft and that i should create all the files. I've read some articles on the net and most of … | |
I am writing a program that performs a NOR function and i keep getting this error I cant figure it out! 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(28) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(29) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(30) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(31) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(33) … |
The End.