2,889 Topics

Member Avatar for
Member Avatar for jaspreet_5

I want to build an easy machine language more likely that sport local language and easy for building software applications and much more

Member Avatar for Dani
0
21
Member Avatar for snah19

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 …

Member Avatar for snah19
0
143
Member Avatar for TENG JUN

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 …

Member Avatar for Dani
0
255
Member Avatar for jcham

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 …

0
40
Member Avatar for merryestifanos

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, …

Member Avatar for rproffitt
-1
81
Member Avatar for Ben_913

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 …

Member Avatar for Dani
0
118
Member Avatar for Hanz Jude

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 …

Member Avatar for nullptr
0
99
Member Avatar for squirrelly

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 …

Member Avatar for Naia
-1
15K
Member Avatar for EC101

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 …

Member Avatar for rproffitt
0
60
Member Avatar for いわしろ

#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 …

Member Avatar for rproffitt
0
177
Member Avatar for rexworth123

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 …

0
36
Member Avatar for Jeph_1

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: # …

Member Avatar for rproffitt
0
175
Member Avatar for RalphGarner

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 …

Member Avatar for pritaeas
2
249
Member Avatar for infinit44

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. ; …

Member Avatar for rproffitt
0
270
Member Avatar for infinit44

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 …

Member Avatar for Schol-R-LEA
0
322
Member Avatar for b1izzard

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 …

Member Avatar for deva_2
0
1K
Member Avatar for Quest123

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 …

Member Avatar for rproffitt
1
154
Member Avatar for Vongola_Takeshi

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 …

Member Avatar for Nivre
0
4K
Member Avatar for Surya_14

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 …

Member Avatar for rproffitt
0
345
Member Avatar for kal_crazy

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 …

Member Avatar for Ajnesh
0
2K
Member Avatar for Sahib_3
Member Avatar for Mem_206

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.

Member Avatar for rproffitt
0
44
Member Avatar for Eisya

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/ …

Member Avatar for Russ_4
0
257
Member Avatar for Puvaan

#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 …

Member Avatar for Schol-R-LEA
0
80
Member Avatar for ama_ni

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

Member Avatar for Leslie_2
0
430
Member Avatar for sbaker51

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, …

Member Avatar for rproffitt
0
295
Member Avatar for liliuglenda

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 …

Member Avatar for rproffitt
0
66
Member Avatar for Arosha_1
Member Avatar for kww228

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 …

Member Avatar for Mariam_16
1
4K
Member Avatar for Idestruction

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 …

Member Avatar for John_310
0
23K
Member Avatar for codenut

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. …

Member Avatar for rproffitt
0
74
Member Avatar for Billclinton

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

Member Avatar for rproffitt
0
52
Member Avatar for Ravi_76
Member Avatar for Saha Junior
Member Avatar for Nicholas_19

Could you please find an assembly tutorial or reply with a [link](http://www.example.org) to it? Also, I'm new in here.

Member Avatar for Dani
0
49
Member Avatar for or.linux

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(*). …

Member Avatar for or.linux
0
2K
Member Avatar for Muchui_1

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 …

Member Avatar for rproffitt
0
30
Member Avatar for Oremaster10

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 …

Member Avatar for rproffitt
0
151
Member Avatar for Deadshot_1

INCLUDE asmLib.inc .data Bank DWORD 10 rNum DWORD ? welcomeMsg BYTE "Welcome to the dice guess game. it costs $1.00 to play. " , 0dh, 0ah, 0 contMsg BYTE "Would you like to continue? (y/n)", 0dh, 0ah, 0 prompt1 BYTE "Please enter your guess for the next roll. It only …

Member Avatar for rproffitt
0
114
Member Avatar for Deadshot_1

Write a program that asks the user to guess the next roll of a six sided die. Each guess costs $ 1. If they guess correctly, they get $ 10.00. The player will start out with a $10.00 bank. Each time he (or she) guesses incorrectly you will subtract $1.00 …

Member Avatar for rproffitt
0
264
Member Avatar for sanjay2012

Error 1 'AdvoDiary.DataSet' is a 'namespace' but is used like a 'type' D:\AdvoDiary\AdvoDiary\ReportViewer\rptBilling.cs 25 9 AdvoDiary namespace AdvoDiary.ReportViewer public partial class rptBilling : Form Common sCom; DBHelper myDB; string sOLE; clsGlobalVar objGlob; OleDbConnection cn; OleDbDataAdapter sDA; DataSet sDS; OleDbCommand cmd;

Member Avatar for tinstaafl
0
373
Member Avatar for TheofaniaLiv

So i have to create a programm that reads 7-49 numbers and makes all posible combinations (6 number each) from the given numbers. Do you know how can i do this? I dont ask for the code ready but i cant think of a way i can create the combinations.

Member Avatar for rproffitt
0
261
Member Avatar for Poppic

Currently trying to understand how to convert some C into mips. Is a "return func" different from "return"? Both C codes are very similar yet im unsure how they will both look in code once completed. Are both of these codes the same? The second code is from another thread …

Member Avatar for rproffitt
0
6K
Member Avatar for Jin_3

int my number [10]; void fun(int input, int* addr){ if (input %2 == 0){ *addr = 1; } } int main (){ int i; for (i = 0; i < 10; i+=1){ fun(number[i], &number[i]); } return 0; }

Member Avatar for rproffitt
0
55
Member Avatar for Pavan_23

Write a Python function maxaceregate(!) that takes a list of pairs of the form (name score) as argument, where name is a string and score is an Integer Each pair is to be interpreted as the score of the named player For instance, an input of the form [CKohir 73) …

Member Avatar for Dani
0
88
Member Avatar for noscreen

I'm having trouble coming up with the concept for parsing an LC3 assembly string. I want the user to input a string: "4 + 3 = " or "22 * 33 = ", and have the program run it like a calculator. I need a space in between each operand/operator, …

Member Avatar for rproffitt
0
41
Member Avatar for ASD_3

Would anyone be able to help me, I am trying to make a C++ program which reads values from csv file and prints them(there are going to be three 4 rows, 3 columns). I want to know how can I add the rows (like the sum of the first row …

Member Avatar for Amber_12
0
278
Member Avatar for HelpMeProgram!

I need help with my coding and I need to know how to configure my text for my button, Here is my code so far: class EyeSprite(Sprite): def __init__(self, game): Sprite.__init__(self, game) self.images = [ PhotoImage(file="C:\\Users\\John Magana\\Desktop\\Python Projects\\clicker game folder\\eye1.png") ] self.current_image = 0 self.current_image_add = 1 self.last_time = time.time() …

0
49
Member Avatar for 652yokohoma
Member Avatar for Cindy20

Can you help me decrypt the message with the given information. I figured out the first line is using Xor ciphers but how do I figure out the rest? Y[ZU[XZWZ\XXZjZ[[WWVWU Ogaqkxpgbqbfiof! Cyw'ss bun! Zqksxl cywd lnepwvs uozneh. Qjc mgabiy nfx vmz-djrhkfalfq. Xnjfx ai qjvi viqi uat pgw odjwp. The radio …

1
148

The End.