3,896 Topics
![]() | |
I want to build an easy machine language more likely that sport local language and easy for building software applications and much more | |
**AI policy theorist Demetrius Floudas introduces a novel era classification for the AI epoch and reveals the hidden dangers of AGI, predicting the potential obsolescence of humanity. In retort, he proposes a provocative International Control Treaty.**  ## About Demetrius A. Floudas ##  **[Demetrius A. Floudas](http://talks.cam.ac.uk/show/index/131770)** is a transnational … | |
Hi, I'm transitioning to assembly, starting with processor 8086. The attached code is Masm 5 compatible and is a step up from Hello World, which linked and ran okay. An endless loop exists, giving credence to this note. Any comments or suggestions to resolve it would be appreciated, thanks! .model … | |
TITLE Simple Login System .MODEL SMALL .STACK 64 .DATA USERNAME DB 20 DUP('$') PASSWORD DB 20 DUP('$') INPUT_BUFFER DB 20 DUP('$') PROMPT_USER DB 13,10,"Create a username: $" PROMPT_PASS DB 13,10,"Create a password: $" LOGIN_NAME DB 13,10,"Enter your username: $" LOGIN_PASS DB 13,10,"Enter your password: $" SUCCESS_MSG DB 13,10,"Login successful!$" FAILURE_MSG … | |
I had used "Do It Again" macro creator software for quite a while with no problem. Recently a MS support tech did a system recovery o my computer (system specs attached), in an attempt to solve a problem. Since the recovery "Do It Again" (One of the program deleted in … | |
Write a program that counts the number of the given character in a user given string. The program must have a procedure called 'HowMany ' that will expect ECX hold the number of user given character in the string buffer, ESI to have the address of where the buffer starts, … | |
I designed each server and client as seperated projects but they both has the classes in same namespaces When I try to deserialize i get this: Unable to find assembly 'RentACar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.' Here is my class i want to send objects as packets using System; using System.Collections.Generic; using … | |
I am a novice in assembler programing, I will will appreciate if someone could review these NASM assembler code for me. Is about encoder decoder. The encoder performs the following: 1. pads the shellcode with NOP opcodes so it is 4 bytes aligned 2. a random byte is generated for … | |
.model small .stack 100h .data Spc db 0dh,0ah, " $" ;New Line ;Bases Conversion ConT db 0dh,0ah, " Conversion $" ;Conversion Title ConBs3 db 0dh,0ah, "Base 3 to Base 5 " db 0dh,0ah,0dh,0ah, "Base 3 [00 to 22] : $" ;Enter Base 03 Number EqBs3 db 0dh,0ah, "Base 5 Equivalent … | |
I am writing this program for our activity, but I have Problem at the end line, because whenever I input 'Y' when asked do you want to solve another set, the do repeats but the statement "Do you want to try again is flashed along with the question "Which shape's … | |
A classic example of an object is a playing card.There are numerous games that utilize a deck of 52 playing cards; consider the game called Set instead. The object of the game is to identify “sets” of 3 cards from an array of 12 cards. Each card has fourfeatures: 1.Symbols … | |
Hi, i need my program output to come out as Hi! I can count very fast. 00000001 IS THERE MORE? 00000002 IS THERE MORE? 00000003 IS THERE MORE? 00000004 IS THERE MORE? 00000005 IS THERE MORE? 00000006 IS THERE MORE? 00000007 IS THERE MORE? 00000008 IS THERE MORE? 00000009 IS … | |
am developing an assembly language program that will check whether an inputted number is divisible by 3 or not, now I am struggling to get things correct but my code is running..and it seems like dx register always have content zero even after div has been executed.. org 100h jmp … | |
#include<stdio.h> #includ<conio.h> Int main() { int ch; float F,C,R,K; char chs; printf(“Choose Input Value\n1.F\n2.C\n3.R\n4.K\n”); scanf(“%d”,&ch); switch(ch) { Case1: F=input(“Fahrenheit value”); C=(5/9)*(F-32); K=C+273.15; R(9/5)*K; Case2: C=input(“Celsius value”); F=(9/5)*(F-32); K=C+273.15; R=(9/5)*K; Case3: R=input(“Rankine value”); F=R-459.67; C=(5/9)*(F-32); K=C+273.15; Case4: K=input(“Kelvin value”); R=(9/5)*K; F=R-459.67; C=(5/9)*(F-32); default: printf(“Invalid Input”) } fflush(stdin); printf(“Print final value F=%0.3f … | |
How do you print repeated digits from 1 to n after asking a user to enter a int8 number n.The printed digits should be random.say for example a user enters enters n=5 then the program prints randomly 11223412345.You can see the maximum is 5.Also how do you sum up these … | |
I’m trying to create a change machine bored and have no programming experience. If anybody has any suggestions I am open to paying someone to help me with this project. I have some logic controlled hoppers and pulse validator‘s 50 MS on 50 MS off. I just need it to … | |
Assume a basic x86 PC (or if it is impossible due to locked access/firmware blobs etc assume the closest modern equivalent of a PC e.g an open RISC system with cpu ram hardrive and a way to interface with a keyboard mouse and a VGA/HDMI monitor) NO OS is present. … | |
![]() | Hello, I wrote this c program that will rearrange the numbers in an array such that all the even numbers come first and that will also calculate the sum. However, when I tested it on mipsmark software ( for correcting assembly language programs) I have a test fails. Here's what … ![]() |
![]() | Hello, I am trying to count the number of characters in a string $a0 that return a 1 when passed to the function, otherwise return 0. Heres what I did: I dont have the correct answer __ output format must be 3, I have 11 .text .globl __start __start: # … |
I am interested in technology, however I do not wish to go to university and after stumbling upon the MIT Challenge, I have taken it as a proof of concept. Clearly education is changing, and I would like to take a less traditional route. But before I go too far, … | |
Hello everyone I just have a problem with my code. I just wrote a program that prints the sum of all even numbers (1 to 100) using macros in assembly language but it does not work can any one help me? I am using EMU8086 editor software. **** .MODEL SMALL … | |
![]() | I am a profession (retired) visual basic programm and have devleoped an stock market application, which work just fine on my pc. Basicall, it reads file for yahoo and creates local file, and analyses the data and rearranges the data in 20 difference way to help user decide how to … |
Hello, I have a problem in making that when the light is green it would light for 5seconds and when the lights are red-yellow or yellow it will only light up for 3seconds. Could anyone help me how to get the result? ; controlling external device with 8086 microprocessor. ; … | |
Hello, could anyone help me how can I make so the user could only enter numbers between 0...9 and letters a...f (A...F) on input? I have a code like this already #MAKE_EXE# DSEG SEGMENT 'DATA' MSG DB 'Enter double digit hex number: $' DSEG ENDS SSEG SEGMENT STACK 'STACK' DW … | |
![]() | Hi friends, I am a newbie to Assembly Language programming, I don't know whats the equivalent Assembly code for NASM compiler and moreover is there any compiler available for ubuntu so that I can run my TASM code as it is? Here is my simple code that works fine in … |
I cannot get the character to input and it does not output. .equ READERROR, 0 @Used to check for scanf read error. .global main @ Have to use main because of C library uses. main: prompt: @ Ask the user to enter a number. ldr r0, =strInputPrompt @ Put the … | |
Just started learning PEP/8 what would the correct way to convert numbers into roman numericals? for exemple How can input let say 6 and have it come out as VI in the output? I know what i did is far from being the correct way to do things as i … | |
Struggle with MARIE Assembly. Needing to write a code that has x=3 and y=5, is x>y then it needs to output 1, if x<y it needs to output one, I have the start but don't know how to do if else statements in MARIE LOAD X SUBT Y SKIPCOND 800 … | |
Good day ^^ I want to create a program using tasm that will tell if the inputted string is a palindrome or not....but i don't know how will i get the first and last char to compare..unlike in C..i can use the strlen....XD Please make the codes very simple ^^..tnx … | |
Please share the converter of c++ into assembly language. | |
hey guys i have this question that i am finding difficulity in help will be appriciated Modify the Wombat 1 computer to Wombat 2 by adding Stack. Stack is a memory which has only one opening where the values are pushed into or popped from stack. The values pushed into … | |
I am using CPU Sim to change wombat1 to wombat2 by adding stack. I have done adding a Stack RAM and a Stack pointer SPR. I have implemented a push instruction as such: acc->mdr mdr->Stack[SPR] End The implementation is able to push the acc value to Stack but not able … | |
By using the PPI and 8086 microprocessor make a simple project that turns on/off one LED for 2 seconds. Explain the address of PPI and the proper control word, and assembly language program that you will use in this project. | |
helo! im an comp engineering student and i need ur help. i have to do a Reminder system using assembly language |-ask user key in input |-clock system |-timer system |-output. thats the basic idea that i have for now. we are using the emulator x86, here the link https://carlosrafaelgn.com.br/Asm86/ … | |
#include <cstdio> #include <iostream> #include <string> using namespace std; using std::string; // function to get maximum string of characters size_t getMaximum(string dum[], int n){ size_t max = dum[0].size(); for (int i = 1; i < n; i++){ if (dum[i].size()>max) max = dum[i].size(); } return max; } void countSort(string a[], int … | |
hello, i need someone to tell me how do i read string in assembly 8086 (nasm) and it would be better to write down the code ~~ thank you | |
Hello, I’m working my way through a PDF file of the book ‘Assembly language step-by-step programming with DOS and Linux’ by Jeff Duntemann. The CD that accompanied the book included a DOS NASM Integrated Development Environment written in Borland Pascal titled ‘NASM-IDE’. I was able to find it on github, … | |
am using CPU Sim to change wombat1 to wombat2 by adding stack. I have done adding a Stack RAM and a Stack pointer SPR. I have implemented a push instruction as such: acc->mdr mdr->stack(spr) End The implementation of push instruction is able to push the acc value to Stack but … | |
I want the oop project in c++ using inheritance constructor destructor etc | |
I am trying to get my program to do a simple math problem of A*B+C*D given a set of test numbers. I have the code written out, but after I input numbers for A and B it goes into an infinite loop. My code is this: [CODE]ORG 100 Load A … | |
Hello all! I am trying to complete a lab assignment for my computer systems class and we have to use the printf function to print changing register values (increment eax from 1 to 10, decrement ebx from 10 to 1). Here is my code: [CODE]; Purpose: To print data to … | |
Create an object in its own file called “LED.asm” that draws a RED Led in the middle of the BITMAP Display. Make the LED your own design, but make sure that it looks like an LED. Assumptions: The Bitmap Display will be stored in the Heap starting at Address 0x10040000. … | |
A company by the name focus computer system has a standard rate of 1.6% of the salary of every employee Write a c program that accept employee salary as to display the rate amount after it's application | |
So, this is the structure. **** *** ** * * ** *** **** | |
Could you please find an assembly tutorial or reply with a [link](http://www.example.org) to it? Also, I'm new in here. | |
According to my assignment requirement I wrote this program, but still doesn't work......can someone help.....please Here is my exercise: "Write assembly code in ASSEMBLY LANGUAGE to read a password from the keyboard. Display the message ' Enter Password: ' and echo each character that the user types as an asterisk(*). … | |
here is my code... JnS Print Halt Print, HEX 2 PrintString, Load PrintName Skipcond 800 JumpI Print Output Clear Load PrintName Add Increment Store PrintName Clear Jump PrintString PrintName, DEC 0 HEX 043 HEX 048 HEX 045 HEX 041 HEX 048 HEX 030 HEX 030 HEX 030 Increment, DEC 1 … | |
I want to make a timer that will countdown from a number that a user will give such as 20 min. If it is easier I could use the timer as a set amount each time. I want the timer to countdown from 20:00 down to 00:00 (min:sec). I want … |
The End.