2,888 Topics
| |
Hi, I'm reasonably new to assembly, but now that I have mastered the basics, I would like to start using something a little more fun. Can anyone tell me where I can find a book on Assembly for building GUI interfaces. Because this is nice and low level, I don't … | |
i want to reserve 4096 bytes in the memory and initialize all with zeros how should i do that? initialize: mov byte[array:di],0 inc di cmp di,4096 jne initialize array: resw 4096 | |
In the name of God ...................................... Hi this is my code . i want to add 2 digits and then print them on screen : what's wrong : [CODE] title myprog .model small .stack .data num1 db 12 num2 db 13 .code start : mov ax,@data mov ds,ax ; data … | |
im trying to read in a string using spaces to separate integers, then display the total of all the seperate integers in the string....Any help would be greatly appreciated [CODE] .data Prompt1: .asciiz "\nPlease enter a list of integers." newline: .asciiz "\n" Buffer: .space 400 .globl main .text main: li … | |
how to sort numbers and letters ascending? please help me | |
I've done this to play a song that allows you to select instruments. Can anyone tell me why this is hanging? [icode] .data instrumentPrompt:.asciiz "Select instrument (piano,strings,or guitar): " octavePrompt: .asciiz "Select octave (lo,med,or hi): " msg2:.asciiz "\nInvalid instrument" msg3:.asciiz "\nInvalid octave" instrumentspace: .space 20 octavespace: .space 20 instrpiano: .asciiz … | |
I know many assembly languages so my question isn't anything assembly related it's C++ related, I understand what __asm does and I've used it before but where's where I'm hung up on __asm drops down to the assembly level for programming although it's not advisable to use it because it's … | |
I'm starting to learn the Pep/8 simulator. Do you know where i can find some tutorials? Thanks. | |
can someone make the code on this activity II. Procedures: a. Create a program (Save as Act4.asm) that will ask the user to input a 2 digit number. Compute and display the sum of these numbers. Assume that the sum will only yield a single digit (maximum value of 9). … | |
Hi, I am using NASM and I am having a problem finding the correct instruction to capture string (more than one character) data from the keyboard. I can capture int data (read_int) or even one character with get_kb Any help would be appreciated. Thanks | |
hi there. i ve just dwonload NASAM compiler bur couldn able to install it on my sytem as i couldnt find any intall.exe file in it and i'm usig XP home edition [B][I]so anyone could tell me how do i install it if it thru CMD than plz code of … | |
how to declare 1024 nodes of 4 bytes each in assembly language? | |
example: enter name: jayvee i don't know how to initialize arrays and to access them. i also don't know the equivalent of scanf in assembly. please help me. | |
I am copying one string(source) to another(destination) using movsb in assembly. However, after the instruction movsb is performed, my source string is altered. Why is that? Does movsb alter the content of the source string too? And if movsb really does that, what other instruction can i used to copy … | |
Heyy, I have a bootloader written in assembly language. The code appears fine to me. But the system is not booting form it. It first said bootmgr missing, which i corrected by downloading an existing bootmgr and copying it to the usb. (The usb is bootable.) Now, an error shows … | |
How would you program a assembly code in MIPS where a user would enter a 7 letter long word and it would translate to a phone number. For instance a person would write CALLNOW and the phone number 225-5669 would be the output. | |
Please help me translate this nested for loop to assembly [CODE]for(int i=0, k=0; i<8; i=i+4, k++){ for(int j=i; j<=i+4; j++){ temp[j-(4*k)]=binary[j]; } }[/CODE] | |
Hi Ladies and Gentlemen, Some of you may remember may, while some may not, because I wasn't that famous with you guys. So let me introduce myself before I introduce my problem. That would create a base for you. I am Shikhin Sethi, a 12 year old programmer, with expeience … | |
please help me with my code.. :( i am suppose to enter a 4-digit number and compare it to '0000'. i don't know why my code isn't working. i am not very good in debugging.. please help me [CODE] sseg segment para stack "stack" db 4096 dup(?) sseg ends dseg … | |
In a scenario that caller doesn't necessarily need callee to use memory of one of its local variables of a primitive type to track that variable later for anything, I know that when passing that variable to a callee function; it'd be done by value and that makes total sense … | |
Hello Everyone. Well, i have really little experience in assembly. So, please excuse me if my question is very trivial. Well, i attended a course on programming the 8086 and we used the MASM assembler, and programming which, we always used this: [CODE] .model small [/CODE] i never understood exactly … | |
Hi, im trying to get the parameters from the command line when the program is executed. I know that the PSP have a DTA and it is stored in the DS:[80h], but i dont know how to save the parameter somewhere and use it before. I think I should use … | |
Hello guys, I want to reverse a string by storing it in some other location but my code is not working can somebody help me? Here is my code: [CODE] org 100h mov bx,0h mov ah,1h readStr: int 21h mov str[bx],al inc bx cmp al,13 jne readStr ;To Print The … | |
Hello all, as i am new to the assenbly language and i only know basics of this languagea and i have to write a code to Read and print an integer value (range -32768 to 32767). Can somebody please help me in this. Note: I am using emu 8086 . | |
Greetings! I was asked to make a 'rename' command using INT 21h/56h by doing the following: 1. Ask the user to enter the file he wants the name to be changed 2. Ask the name of the file that will be used as the new filename. 3. Return error codes … | |
I am new to Microprocessor 8086. i should submit this assignment by monday evening. Can anybody help me with this question? Q1 Write an 8086 assembly language program that will compute: 2.0 * log10 X for x = 0.1, 1.0, 10.0, 100.5, 1000.0, and six other values using a loop. … | |
| Write an assembly program, `fsm1234.asm`, that prompts the user for a number and checks it against the fsm in the figure 2. Figure 2. `L={1,2,3,4}` All numbers besides 1 must be preceded AND followed by a 1. So every 2,3 and 4 WILL have a 1 before and after it. … |
Ques:-Audacity error while opening sound device when recording? -------------------------------------------------------------- [URL="http://www.lawebdesigning.com/"]los angeles e-Commerce[/URL] [URL="http://www.lawebdesigning.com/"]los angeles web design[/URL] [URL="http://www.lawebdesigning.com/"]los angeles web development[/URL] | |
I am attempting to learn Assembly (x86 Assembly on Windows using NASM) but am having trouble understanding what this is doing. Can someone please explain line by line what this code is doing? I have commented the lines that I think I know what they do, but I'm not sure. … | |
I don't fully understand how to modify the datapaths/control signals to account for instructions. I have to make the single-cycle datapath able to do the instructions: jr lui addi bne I've been starting at this thing for an hour or so and haven't made much progress. With the jr instruction, … |
The End.