2,889 Topics

Member Avatar for
Member Avatar for Ryan_43

https://payloadz.myshopify.com is my new site, im a computer science student i started it to showcase the vulnerabilities in linux

Member Avatar for rproffitt
0
36
Member Avatar for Jimly

INCLUDE "EMU8086.INC" ORG 100H LEA SI, MSG1 CALL PRINT_STRING CALL SCAN_NUM MOV AX, CX LEA SI, MSG2 CALL PRINT_STRING CALL SCAN_NUM MOV BX,CX CMP AX, BX ; COMPARE AL - BL. JE EQUAL ; JUMP IF AL = BL (ZF = 1). PRINT 'NO' ; IF IT GETS HERE, THEN …

0
42
Member Avatar for IndiaofCarl

I have three problems the first one is to count the letters in a string in Assambler in MIPS. the string that should be counted is "My bird is a happy bird and he like to sing" .data ANTAL_TAL: .word 11 TAL_ARRAY: .word 1, 3, 6, 9, 2, 4, 6, …

Member Avatar for stellaa9x
0
212
Member Avatar for carla_3

I am currently working on a python program that takes the numbers from a large file and averages them. Currently I can't seem to find a way to add the numbers without using the sum function. I am a beginner and am just trying to grasp the basics of Python …

Member Avatar for Dani
0
96
Member Avatar for Arooj_3

#include "stdafx.h" #include <iostream> #include <windows.h> using namespace std; int main() { int sitution =0; cout<<"SECURITY SYSTEM"<<endl; cout<<"1. Police"<<endl; cout<<"2. Fire Brigade "<<endl; cout<<"4. Earthquake "<<endl; top: cout<<endl; cout<<endl; cout<<"Press The Button for Help \n "; cin>>sitution; if (sitution ==1) { for (int i =0; i <10;i++) { Beep(1000,400); cout<<" …

Member Avatar for rproffitt
0
40
Member Avatar for athousandsticks
Member Avatar for Mr.M
0
61
Member Avatar for Syada

Write a complete C++ program for WorldParking Sdn Bhd. to perform the following: a. Write a return-value function named calcCharges() to calculate and return the parking charges for the customers. The company charges a RM1.00 minimum fee to park for up to one hour. An additional RM0.50 will be charged …

Member Avatar for Fatur_1
0
607
Member Avatar for Syada

Write a complete C++ program for WorldParking Sdn Bhd. to perform the following: a. Write a return-value function named calcCharges() to calculate and return the parking charges for the customers. The company charges a RM1.00 minimum fee to park for up to one hour. An additional RM0.50 will be charged …

Member Avatar for rproffitt
0
33
Member Avatar for RedWGS

So i need to make a program to my final year of college which will count on the grades and it is obligatory, im doing a program to search for recipes in a access database trough its ingredients, what i mean by this is selecting some ingredients and in a …

Member Avatar for Santanu.Das
0
208
Member Avatar for Remti Altec
Member Avatar for John_266

I have to make a program that reads the number of seats and stores it in a two dimensional array. The empty seats is hashtag and if the user buys a seat it becomes *. The odd rows have 15 seats and even have 20. When I purchase a seat, …

Member Avatar for ButcherHix
0
269
Member Avatar for nevin6969

In python how to write a program which takes a number of days from now - 100 days, and find in which month that future day is.

Member Avatar for amazingadmin
0
230
Member Avatar for nana_7

; Data section .data extern printMSG extern exitNormal extern printRAX extern printRBX extern printRCX extern printRDX extern getByteArray extern printByteArray extern printEndl startPrompt db "Welcome to the amazing dice game, press enter to start " startPromptLen dq 54 rerollPrompt db "Enter any numbers you want to keep " rerollPromptLen dq …

0
33
Member Avatar for patrickdegaule

to input a number and store it in x y equal to x-z y>0 , display the value of y and x using org 300 with x , dec 0 y , dec 0 z , dec 5

Member Avatar for rproffitt
0
74
Member Avatar for mr.matrix251

a) Write MARIE code to: 1. Input a number and store it in X . 2. Y will be equal to “

Member Avatar for rproffitt
0
126
Member Avatar for kww228

I am doing a project that must convert each string in X to an integer and save it in the corresponding location in Y. A dollar sign is used to mark the end of a string. I have 90% of the code, but it only works for the first string …

Member Avatar for hamzah_3
0
12K
Member Avatar for taylan_1

It converts only one number into binary. When 2 numbers are entered, I want them to translate and write them as binary.This is very important for me, I have been dealing for 2 days I made the code here, but I couldn't do it after that.Can someone who knows help …

Member Avatar for rproffitt
0
118
Member Avatar for monjo

section .text global _start: _start: mov esi, array ; get pointer to array mov edi, arraylen ; edi = number of array elements loop: mov edx, 2 ; print 2 bytes mov ecx, [esi] ; get current array element add ecx,48 push ecx ; push to stack since we need …

0
103
Member Avatar for himanshucary

Dear All, From the below codes, I can get the values of text boxes x1,x2 in the Textbox1 of form2. (when I write x1 or x2 in the textbox 2 of form2.) But when I write c1 or c2 in the Textbox1 of form2 then it gives error. Pl. help …

Member Avatar for tinstaafl
0
150
Member Avatar for Yasmeen_4

Using mars (mips simulator) write a program using spim assembly language to read 20 integer numbers (positive and negative) store them in an array of 20 elements rnd compute the following on these numbers. 1. The count of positive numbers 2. the count of even numbers 3. print only numbers …

Member Avatar for Reverend Jim
0
226
Member Avatar for Nobu_1

Hello,i learned how to used the C++ but i have problems to analysis the problem in my project. Write a program to process monthly paycheck for all contract workers of an organization. Each worker will have the following information: Identification number (at-digit integer), the worker's name, hourly pay rate, and …

0
136
Member Avatar for Dharshika_1

MARIE program to calculate some basic statistics on a list of positive numbers. The program will ask users to input the numbers one by one. Assume that all numbers will be in the range 1 to 1000. To terminate the data entry, the user will input any negative number. Once …

Member Avatar for rproffitt
0
370
Member Avatar for rjrajbir

Hi, I am a newbie here, Recently I was working with H3LIS331DL 3-Axis Linear Accelerometer I²C Mini Module Here is code for the X, Y, Z-axis. #include <Wire.h> // H3LIS331DL I2C address is 0x18(24) #define Addr 0x18 void setup() { // Initialise I2C communication as MASTER Wire.begin(); // Initialise Serial …

Member Avatar for rproffitt
0
417
Member Avatar for VIRTUAL_2

[org 0x0100] n1: db 1 n2: db 2 largest: db 0 mov ax, byte[n1] mov bx, byte[n2] cmp ax,bx jg next mov [largest],bx jmp endrtn next:mov [largest],ax endrtn: mov ax, 0x4c00 int 0x21 error in line 6 and 7 error is mismatch in operand sizes

Member Avatar for rproffitt
-1
197
Member Avatar for VIRTUAL_2

[org 0x0100] num: db 0 factorial: dw 1 VUID: db 1,2,3,4,5,6,7,8 mov bx,0 jmp start fact: mov ax, byte[num] fact_loop: mul word[factorial] sub ax,1 cmp ax,0 jg fact_loop ret start: mov bx,0 mov cx,[VUID+bx] add bx,1 shr cx,1 jc start mov [num],cx call fact mov ax, 0x4c00 int 0x21

Member Avatar for rproffitt
0
296
Member Avatar for VIRTUAL_2

[org 0x0100] num: db 0 factorial: dw 1 VUID: db 1,2,3,4,5,6,7,8 mov bx,0 jmp start fact: mov ax, byte[num] fact_loop: mul word[factorial] sub ax,1 cmp ax,0 jg fact_loop ret start: mov bx,0 mov cx,[VUID+bx] add bx,1 shr cx,1 jc start mov [num],cx call fact mov ax, 0x4c00 int 0x21 when …

Member Avatar for rproffitt
0
230
Member Avatar for ss00ss00ss00

i'm really struggling with this pseudocode to convert it to MARIE Input a number Assign this number to x if(x <y) x = x + y; z=z+w; else y=y-w; Print the value of the accumulator. x, Dec 0 y, Dec 2 z, Dec 5 w, Dec 1

Member Avatar for ss00ss00ss00
0
3K
Member Avatar for DanyOcean

Hi, I apologize if my english is bad, I need some help printing the value of a variable in the code that I show below, I'm using emu8086 and I need that this works in this code example that is the same that comes in the examples of emu8086 (PrinterDemo.asm) …

Member Avatar for Thaumtrope
1
12K
Member Avatar for Tormod

Has been looking at different methods like using a look-up table or double-dabble, but have up to this moment not found any algoritm that do the work most effectively. The 64 bit value is delivered to the routine in two 32 bits registers (upper,lower). I am writing a larger project …

Member Avatar for rproffitt
0
401
Member Avatar for Harry756

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 …

Member Avatar for Dani
0
224
Member Avatar for Zerua

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 …

0
278
Member Avatar for Zerua

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 …

Member Avatar for rproffitt
0
389
Member Avatar for Zerua
Member Avatar for aisopos

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 …

Member Avatar for rproffitt
0
353
Member Avatar for NewbieChameleon

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 …

Member Avatar for Kaveri_2
0
910
Member Avatar for Krishneel_2

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.

Member Avatar for rproffitt
0
223
Member Avatar for tun712

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 …

Member Avatar for tun712
0
866
Member Avatar for Sergei_1

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 …

Member Avatar for rproffitt
0
650
Member Avatar for Sergei_1

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 …

Member Avatar for rproffitt
0
1K
Member Avatar for Rooro

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 …

Member Avatar for Ebru
0
7K
Member Avatar for Rock Ridge Farm

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 …

Member Avatar for rproffitt
0
440
Member Avatar for Hazardous_Byte

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 …

Member Avatar for rakesh_15
0
2K
Member Avatar for Barrow_1

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 …

Member Avatar for rproffitt
0
376
Member Avatar for Loay_1

Write a Marie subroutine that take a range of numbers and prints the prime numbers of this range.

Member Avatar for happygeek
-2
313
Member Avatar for user2018

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 …

Member Avatar for user2018
0
414
Member Avatar for Andrew_46

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

Member Avatar for Schol-R-LEA
0
4K
Member Avatar for jay_25

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 …

Member Avatar for Carolyn_3
0
767
Member Avatar for jay_25

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

0
445
Member Avatar for mnstrgrvyrd

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 …

Member Avatar for Schol-R-LEA
0
1K
Member Avatar for Spagett912

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 …

Member Avatar for Schol-R-LEA
0
4K

The End.