3,896 Topics
![]() | |
I'm using a fairly standard MSI mobo with Intel Core i5-6400 processor and 64 GB RAM. So: Which programming language (besides assembly) is the most effective to use in this configuration when I want to do calculations/modelling trying to find the least number of combinations to fullfill some predefined conditions. … | |
A friend and I are talking about taking our hobby of printing funny T-shirts into a living, and start our own website in Sydney. And then we need to find a cheap marketing company who can provide support and have experiences in helping start-up companies. Anyone who knows a marketing … | |
Enter_Again: xor ah, ah ; I should put 60 seconds here int 16h ; The user should press S before 60 seconds mov bl,al cmp al,"S" | |
Enter your answer: Cucumber You got the wrong answer... but it should be correct answer Data Segment input db "Enter Your Answer: $" g db 20 dup('$') ; strlen1 db $-g str2 db 'cucumber','$' strlen2 db $-str2 streq db 10,13,'You got the correct answer','$' struneq db 10,13,'You got the Wrong … | |
I am trying to figure out why my answer still wrong even though I type the cucumber... .model small .stack 100h data segment str1 db "Enter Your answer: $" after db "Your answer is: $" answer db "Cucumber$" input db 20 dup("$") newline db 10,13, "$" correct db "Your Answer … | |
How to put a time limit to the input function in assembly | |
Is there anybody who can help me for giving me source code for countdown timer in Assembly | |
Hey guys, I need some help with a Marie simulator...I need to write a program that takes numbers from 0-100 and then prints F(fail) if the number is <50 and P(pass) if the number is >49 and <101 needs to stop at 10 results. If someone can help me I … | |
I'm just starting out with Assembly languege, having installed NASM on openSUSE 13.1, i386 family processor yesterday. My worry is that a simple program like "Hello World!" has flagged a warning when linking...see line 3 below: 1. coker.mu@linux-jm54:~/nasm> nasm -f elf helloWorld.asm 2. coker.mu@linux-jm54:~/nasm> ld -m elf_i386 -s -o helloWorld … | |
using an array as a subroutine, then checking if its in ascending order then finding the median | |
Hello; can anyone help me with creating a stack in wombat machine simulator. I don't have any Idea of how it should be implemented. | |
I was wandering aimlessly on google, I found [ReactOS](https://www.reactos.org/). It's interesting. I tried this OS, many windows applications are running well on it. But some latest applications are unable to run like **Firefox 65.0.1** I have few questions, * How worth is using this OS? * What is future of … | |
I'm a new member to the site and what I wish is to learn more about x86 assembly and C/C++ | |
I have questions: 1) Program to get input from user till 'z' or 'Z' is inputted the program will check for the chars, and print (new line) small chars (new line) big chars (new line) numbers [without 'z' or 'Z'] can't use variables. only Stack. example : input: ASdf154sdgdf123vcvbz Small … | |
I have to get from user up to 8 letter to string, and print the string in reverse. There is my code : STA SEGMENT STACK DB 100H DUP (0) STA ENDS DATA SEGMENT MSG1 DB 'ENTER STRING (Maximum is 8) : $' MSG2 DB 'REVERS IS : $' ISTR … | |
Visual studio cannot start debugging because the debug target 'C:\users\lizane\desktop\project\peek-ture\peek-ture\bin\x86\debug\peek-ture.exe' is missing. please build the project and retry, or set the outputpath and assemblyname properties appropriately to point at the correct location for the target assembly. How to solve this? ( Using Microsoft Visual Studio 2008) thank you | |
Hello everyone : ) i'm working on : [quote]Write a program that takes an input sentence from the user and on next line display the number of capitals letters in the sentence. Note: · User is not allowed to enter a sentence with more than 9 Capital letters. [/quote] what … | |
I am having problems with this program. It assembles but will not run. it will not even start - anyone see the error? global _start section .data $STR00000 db "hello world",0 section .bss $u_exitcode resd 1 section .text extern _iwbstrcpy extern _iwb_finish extern _iwbprint _start: push rbp ; set up … | |
I have written a bootloader in ASM (I can post code if you like) and I plan to write a kernel in C /c++ because I don't want to have to deal with a Kernel written ENTIRELY in ASM. Is there any way (Got to keep this under or at … | |
Just curious. Hehe, I was thinking about this the other day and now I'm wondering what all you fellow coders out there have done. So what's the HARDEST most complicated program you've written? It doesn't have to be efficient, heck, it can all be spaghetti code. The hardest thing I've … | |
hi can anyone here help me to fine solution to the following question in MIPs assemble language 1. Write a program that asks the user to input a set of floating-point values. When the user enters a value that is not a number, give the user a second chance to … | |
Write a Marie subroutine that take a range of numbers and prints the prime numbers of this range. | |
Hello I want to write a mips program that collects user input, and indicates if the input is all uppercase letters or not. (self.user_2018_2019) submitted just now by user_2018_2019 Write a MIMPS program that collects user input, and indicates if the input is all uppercase letters or not. The program … | |
I often use the Parallel port (D-Sub DB-25 female) of PC to communicate with MCU or a processor card with my unique and self developed software and interface circuit . Now it looks like I've found a functional bug in the USI hardware of AVR ATtiny45/85 MCU. I wanted to … | |
I'm trying to convert the following C code to MIPS64 (very new to this): If Im given the addresses: (a @ 100) (b @ 200) (c @ 300) long int a, b, c; // 64-bit ... if (a < b || a == 4) c = 1; else c = … | |
Hi guys. My task is to write a wombat 1 machine language program in CPUSIM that outputs the radix(only base 2 to 8 inclusive) reperesentation of a number. We have to ask the user for 2 inputs - first is the value to convert(cannot be negative) and second is the … | |
Hi guys, I have a problem. I'm using CPUSim Wombat 1 to write a program. The goal is to display the numbers that the user has entered in the order they've been entered. What I'm stuck on is the storages. It's currently in a loop. The sentinel value is 0. … | |
The homework is to create a pretty simple calculator, and I think I understand how to do all the calculations well enough, but I'm struggling with a different part of the homework. The user inputs some thing like this: +ooooo which means add 5 to the running total. Or something … | |
I had been writing a program that enforces the loop instruction with indirect addressing but I need it to copy a string from source to target, reversing the character order in the process. I need to use the variables: source BYTE "This is the source string",0 target BYTE SIZEOF source … | |
can i ask something whats the used of [B].org 100h[/B] in assembly language..., and why it is 100h why can/t it be 60,70,80 or 90h? tnx :) | |
Hello Friends, I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but when i click on report it dosent work and generates error :System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. … | |
I bought a web site a few months ago thinking that I could go to a community tech school. I have not found the classes that I need. So I don't know how to build it. Help? | |
Hello there guys! I must implement a linked list in assembly (using MIPS). We're supposed to dynamically allocate memory for the nodes. This is what I am asked to do: Write a program in assembly (MIPS) that implements a link-list. The client can choose among the following options. So the … | |
Hello all, i need your help regaring this code, which is in python and i need to convert it into mips?? register $s0 holds the base address of list my_data, $s1 holds the length of the list my_data, register $s2 holds the base address of list my_data2 and $s3 holds … | |
Hello, I am supposed to write a code in MIPS to do the following below. Basically, you enter an integer, and it should check to see if it is a palindrome, and if not it will output the number, and keep adding the numer backwards to it, outputting it, and … | |
Preconditions: Addresses of 2 integer variables are on the stack as the parameters. Sample c call: swap( &num1, &num2); You must implement the following C swap function: /* Swaps the two values pointed to by x_ptr and y_ptr. */ void swap (int *x_ptr, int *y_ptr) { if (x_ptr != y_ptr) … | |
I'm stuck on converting hex or decimal to 16-bit binary,and I don't know how to start. Here is the tasks I need to do: Decimal Conversion Task: Add code that displays the value in R3 to the console as a binary string. It should convert R3 one bit at a … | |
Hello Evreryone, I am new here and would love some help with a project I have. I have to create a MIPS program where we implement different funcntions. I was able to do strcopy but Im having trouble finding how to code the strchr, strcmp, and memset functions. Unfortunately I … | |
`.model small .stack 100 .data kernel DB 10 DUP(1) input DB 1, 2, 3, 4, 5, 6, 7 output DB 0, 0, 0, 0, 0, 0, 0 .code MAIN PROC FAR MOV AX, @DATA MOV DS, AX LEA BX, input LEA DI, output MOV AX, 0 ;1st element starts here … | |
Perpetual program reopens error: The type or namespace name 'Properties' does not exist in the namespace 'xxx' (you are missing an assembly reference?). Suppose there is a namespace space xxx how to declare how to use attributes and resources, for example: global :: xxx.Properties.Resources.sys_h; | |
I have an input signal array I have a kernel array of size 10 filled with ones 1) I need to store the input signal array in a block of memory 2) I need to find the intersection between the input array and the kernel 3) I need to output … | |
I am creating an application that uses NHibernate, an object relational mapper that is a port of the Java Object relational mapper hibernate. Currently I am trying to represent my entities via hibernate xml files. The application I have right now is throwing an error I am thinking may be … | |
Basically title. Part of a larger program, but I can't figure out how to remove just the first letter (it's always not a number; A, B, C, X, etc.), and is always followed by numbers. So essentially, I'm trying to get "x234" to "234". I figured I could use lb … | |
Using tasm32. GetStdHandle returns INVALID_HANDLE_VALUE in eax register. .386 .model flat extrn GetStdHandle:PROC extrn ExitProcess:PROC .data .code start: push -11 call GetStdHandle push 0 call ExitProcess end start Other APIs work fine. just having problems with GetStdHandle. Any ideas? | |
Hello to all group members, Im having a problem with my assembler. I have installed MASM 6.11 and i have 'Windows 10'. Everything works out just fine, the compiler and all and even my programs are accurate as they get. The problem is that when im trying to go to … | |
Write an assembly program that reads two integers from the user, X and Y, then stores the largest input into a variable called L. The program should show prompts to tell the user to enter the two numbers. | |
He , how do i print multibel line's i use de .inc from mikeos but don't knows how to loop like this: .message db 'hallo 1',0 db 'hallo 2',0 db 'hallo 3',0 for the moment i uze ;------------------------------------------------------ ; Install screens 1 ;------------------------------------------------------ BITS 16 ORG 32768 %INCLUDE "pirom_dev.inc" start: … | |
i have installed nasm in ubuntu in linux but dont know how to and where to write code of assembly language and run my code please give me information as soon as possible. | |
Write an Assembly program that allows the user to enter a string of up to 99 characters. The program shall then replace all the digits with their corresponding words. The words shall be printed in all lower case or all upper case depend on the case of the last alphabet … |
The End.