2,888 Topics
| |
please can you give me a code to convert octal to decimal using 8086 assembly language; | |
Are these two instructions equivalent, i.e do they both do the exact same thing? `addi $s0,$s0,0` and `add $s0, $s0, $zero` | |
Need a Program in assembly language which uses BIOS interrupt INT 21 to read current system time and displays it on the top-left corner of the screen. shahhussainit@gmail.com | |
Can help? I totally cannot do assembly code. It's part of my lab tutorial. I wanted to convert this C++ code into assembly: for (a = x; a <= y; a++) { prime = 1; for (b = 2; b <= a / 2; b++) { if (a % b … | |
I Assembly even worth learning if your not going to be developing the root of an os? I've considered it but it just seems worthless. | |
1. An assembly instrction is converted into binary, also known as the machine code by the assembler. And it contains only 0s and 1s yes /no? 2. Then, the microcode handles the 1s and 0s of the assmelby instrcution that was convereted before. Yes or no? 3. Does the processor … | |
I have a problem with my code. I suppose to input a string ans output to all caps. But then, I output is nothing. ![09219e4acd73eb0184487c54b207c04f](/attachments/large/4/09219e4acd73eb0184487c54b207c04f.png "09219e4acd73eb0184487c54b207c04f") TITLE LAB TUTORIAL 1 .model small .stack 100h .data msg1 db "Enter a string: $" msg2 db "Output: $" msg3 db "Number of characters: … | |
Hey, I'm new to assembly 8086 progamming and don't know much of the code. How do you change the input string to all caps and show the number of characters without counting the spaces? > Enter a string: Doraemon rules!!! > Output: DORAEMON RULES!!! > Number of characters: 16 | |
I was wondering something, I know that on windows you can't interact directly with the hardware, you have to use the system API. Now in Linux in the other hand, it looks to me if this can actually be done, or am I wrong? The thing reason why I say … | |
JNZ checks if the Zero flag is set or not. How does it really check it? more assembly instructions? I thought Assembly doesn't hide anything. | |
the problem is that when it run, it outputs the not msg, which is a wrong statement. the problem is with the declaration or cmp? jmp start msg db "c is equal to a divide b.$" msg_not db "c is NOT equal to a divide b.$" start: mov ax, 41 … | |
Hi Daniweb, I am working on an assignment that is aimed to help us understand floating points. The current task is to take a number as input, example 3.5, or 2.25 etc and output it as a binary decimal, ex 11.100000000, 10.0100000000. To do this, I am taking the whole … | |
As the title says. I have tried FreeBSD's stack structure but it looks as though Mac does not use that structure. Also, how could I get their value into a particular register (ecx)? Thanks in advance! | |
How I can increase size of stack in assembly (NASM OS X intel64) I used **.STACK 4096** before **section .data** but return this error error: attempt to define a local label before any non-local labels error: parser: instruction expected Please guide me. | |
I am a new to assembly and i am asked to multiply two 3x3 matrices and then show the given result. I am having problem in multiplication as mov al,5 mov bl,6 imul bl but how to print it?? i know the result will be in ax register but i … | |
please provide me a code for telephone directory in emu8086. its my project,and i am very tensed about it. just a simple program. please help this girl. | |
hi , please convert this block code to intel syntax ( nasm) xorps %xmm0, %xmm0 movaps %xmm0, -64(%rbp) movb $2, -63(%rbp) movl $3103850762, -60(%rbp) movw $20480, -62(%rbp) leaq -64(%rbp), %r14 | |
I have a project due soon, and I am having trouble with it. Here is my code: ` #include "msp430.h" ; #define controlled include file NAME main ; module name PUBLIC main ; make the main label vissible ; outside this module ORG 0FFFEh DC16 init ; set reset vector … | |
Hello i am new to assembly please help me i want to write a program in Linux assembly which can multiply and divide real binary and hexa decimal numbers(e.g 11010.11001 & A56.B5). . Please help me as soon as possible i will have to submit the assignment by tuesday please … | |
Hi Daniweb, I'm new to Assembly level programming and have been given an assignment in MIPS. Having started to plan the assignment, I have come to a rather open ended question that I want your opinion on: given that one has only so many registers to work with on Assembly … | |
i need some information about the Assembly instruction in processor iapx 8088. if there is any link of any articles that can help me then plz send me this is my assignment. And i want good grades in my assignment. | |
I'm trying to find all the prime factors of an inputted number. I was given the following Java code to convert to assembly. String getFactors(int number) { String answer = ""; for(int factor=2; factor <= number; factor++) { if(number % factor == 0) { answer += factor + "*"; number … | |
Can someone please write this program for me? Your program will accept as input only unsigned integers in the range 2 .. 65535. If the user enters a value that is invalid, your program must print a helpful error message and prompt the user to enter a new integer. Your … | |
I am attempting to do some Boolean algebra for my computer organization class. I have gotten the first seven problems done, but for the last four, I am confused. The question for all of them is the same- 'Simplify each expression to Minimal Sum of Products form. Show each step … | |
Hello, I have learnt a few assembly languages (MIPS/x86/ARM/MIX) and I have a question about the call stack. Each of those languages uses a different method for subroutine linkage, and the way I learnt them was not conducive to recursion. Granted, if I continue reading my copy of The Art … | |
ok i have this problem in mind i wanted to try but i cant figure out whats wrong with my code..the program lets you input a string of integers then press another input as target..The target is then cmp to the string..the output should place lesser values on the string … | |
how can i make a file handling program in tasm using a far jump any comment and suggestion please? | |
Hello, I have another question about dynamically compiled code. I am using the VBCodeProvider class to compile, test, and run "scripts" that users type into my program (Code Below). Public Function Compile(ByVal vbCode As String, ByVal argsString As String) As Object Dim oCodeProvider As VBCodeProvider = New VBCodeProvider ' Obsolete … | |
I'm a novice to MIPS I'm trying to develop a program which takes an input from a ten word array, increments it by two, stores the result back into a register $v0. Which will hold the incremented value. The program should stop when it encounters a value of 0 from … | |
I am writing a code for my Computer class, that takes a user input string, and displays it with the vowels removed. I have the code to where it takes the input and displays the string, but it only displays the letters in front of the first vowel. For example, … |
The End.