3,896 Topics

Member Avatar for
Member Avatar for Sara_10

Hi I want Example for code in assembly language to develop alarm clock using **8085 microprocessor** As soon as you can Thanks

Member Avatar for Sara_10
0
904
Member Avatar for ShiftLeft

This is a special purpose boot loader for a system I've called Proto-Sys. Eventually it is going to become a 64 bit application that will encompass all the resources to hook into drivers, benchmark code and optomize algorithms. Synopsis: * Preserve registers as they were passed by BIOS * Create …

0
337
Member Avatar for HōñËy

I need to know how to install MASM on my laptop? anyone please ,if there is online site to download it ..tell me.

Member Avatar for HōñËy
0
135
Member Avatar for Podmar

Write a MIPS Assembly program that inputs names and marks for three student assignments and computes the total score for each student and the average class score per assignment. Assume Assignment#1 is scored out of 5; Assignment#2 is scored out of 10; Assignment#3 is scored out of 5; Hence the …

-1
106
Member Avatar for fizzah zahid
Member Avatar for DXNNX

i need generate a program that say if a word is palindrome or not, but the specification of my word say that the max length of the string is 200, but the getstr of io.mac the max is 81, anyone know a alternative to manage a string of 200 characters …

0
122
Member Avatar for nihade

hello Friends,, i need your help please i don't understand where is the problem in my code it blocked in "the print reverse" step help me please !! with a simple explanations because i'm new in this thanks DATA SEGMENT STR1 DB "ENTER YOUR STRING HERE ->$" STR2 DB "YOUR …

Member Avatar for Schol-R-LEA
0
348
Member Avatar for Jaken_1

Like the title says. I have a user-inputted string that I need to do math calculations with, therefore, I need to convert the string to an integer. This is my current code. What can I do to manipulate the number the user inputs? org 0x100 section .data prompt db "Enter …

0
107
Member Avatar for whatthebobo

So I recently started taking this class and i never learned assembly language so writing the program was very difficult. I have this project to do and this is part one. The instructions are: Part 1 Implement the following C++ code fragment in assembly language. Use the block-structured .IF and …

Member Avatar for whatthebobo
0
842
Member Avatar for Đăng

6 Consider the following set of assembly instructions: addl %ecx, %edx; cmpl %ebx, %edx; jge .L4 where %ecx stores the value C, %ebx the value B and %edx the value D. What C comparison is implemented by this assembly code? Select one: a. if (c + d >= b) then …

Member Avatar for Schol-R-LEA
0
148
Member Avatar for Nazariy

Hi, I am multiplying two matricies in assembly. It is a 2 x 2, and as you can see they are defined down below in the code. I am also defining storate for 4 words so tht I can save the resulting matrix. 1. I declare offset fo each matrix …

Member Avatar for Schol-R-LEA
0
230
Member Avatar for Mandy_Monyita
Member Avatar for lexd

I cannot write Assembly code to save myself can someone write this for me please I want to make a fast case statement as a standard case statement is way too slow for my project. my project hangs on this centail peice of code. Hear below I see how to …

Member Avatar for Schol-R-LEA
0
205
Member Avatar for asic_designer

I have a question about the assembly code generated by this small patch of C code that I wrote. The code patch is shown below, basically what I am doing is reading floating point values in from a hardware updated register and performing the arctan2f function on those values. #include …

Member Avatar for asic_designer
0
397
Member Avatar for bd338

Hello everyone. I erased A86.exe, because I wanted to learn 32-bit Assembly. Now I want to program a little bit in 16-bit Assembly again. So I downloaded A86.exe, but now when I open my *.ASM files with it, nothing happens. Please help me :).

Member Avatar for Drew_1
0
188
Member Avatar for Tcll

First off, I know this question doesn't exactly belong here... I'm asking here because this is the lowest common ground between binary opcodes and: # python 2.7 class A(object): def __init__(this): print 'I am initialized!' instance = A() my question is, what's the equivelant of that in either PPC or …

Member Avatar for Tcll
0
416
Member Avatar for theBigB

Hey everyone: i have a project to do in assembly(8086) and i want to do a simple anti-virus. The idea is that you will write the path (url) to a document that you want to scan. The program will scan it and will compare it to a known viruses. can …

Member Avatar for theBigB
0
553
Member Avatar for roud13

Hello, I'm writing a little program and I have a problem : Using the CHARI instruction , I 'm supposed to get 4 digits representing a year ( I can not use DECI ) . I am able to read characters one by one and convert them to decimal , …

0
103
Member Avatar for Smalls

The topic is the question, is there a way to access embedded resources folder by name dynamically via string? The closest I think I've gotten is the following code which has error "Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<string>' to 'string'", if i try to get the only folder it should return …

Member Avatar for ddanbe
0
298
Member Avatar for rpsr150891

Please explain the difference between the two mentioned above.what is assembly in a c# program? Thnx

Member Avatar for ddanbe
0
99
Member Avatar for apkrieg

Okay. So I have this code in intel syntax. BITS 64 section .text global asm_proc asm_proc: jmp program section .data ; b8 - mov rax, <32bit immediate> ; 64 00 00 00 - The number 100 decimal ; C3 - ret program db 0b8h, 064h, 000h, 000h, 000h, 0c3h I …

Member Avatar for apkrieg
0
172
Member Avatar for RikTelner

If I have ready assembler code. How do I make it into runable code, I want to mess around with it and test it in VMPlayer. As far as I know, I could use NASM, and all "NASM's" can be downloaded from: http://www.nasm.us/pub/nasm/releasebuilds/2.11.06/ so, I've managed to find the right …

Member Avatar for RikTelner
0
371
Member Avatar for apkrieg

Okay, so I am learning Assembly and I started with 32bit and `bswap` seemed to work fine. Now I have this code main.c #include <stdio.h> #include <stdlib.h> extern int asm_proc(void); void print_bits(unsigned long long bits) { for (int i = 0; i < sizeof(unsigned long long) * 8; i += …

Member Avatar for apkrieg
0
823
Member Avatar for Syeda_2

consider the following pseudo code and write the corresponding assembly code for it. Note: There is more credit for a shorter code. If (al > C1) AND (b1 > a1) { dx=1 } i can`t understand this code.... anyone solve this problem????

Member Avatar for gusano79
-1
1K
Member Avatar for The Old Man
Member Avatar for sDJh
0
190
Member Avatar for Salvius12

So I am trying to move a Folder on my desktop to a folder in my programming files. Everything is their that needs to be at least I think so but it still says it doesnt have access. I am very new to VB.NET like 3 days fresh. I am …

Member Avatar for Salvius12
0
426
Member Avatar for Salvius12

I cannot figur this out ive been researching. Changeing code structure, Everthing I could think of to get this to work but it keep giving me errors here is the error I get Im pretty sure somewhere in the code its holding onto the file but I dont know where …

0
186
Member Avatar for yoyo30

When user click on the button "back",it should go back to "HomeStudent.aspx",but unfortunately its not working and no error shown.Do help me. <%@ Page Title="Advertisement" Language="C#" MasterPageFile="~/AccommodationStudent.master" AutoEventWireup="true" CodeFile="Advertisement.aspx.cs" Inherits="Advertisement" %> <%@ Register TagPrefix="ajax" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> <style type="text/css"> .style1 { width: 224px; } </style> </asp:Content> …

Member Avatar for yoyo30
0
4K
Member Avatar for Hadi.M

Hello all, I am trying to self learn the x86 assembly language and I came across a problem that I can't seem to fix. I want to recieve an integer input from the user and convert it to a word. Example: Input = 0 : Output=Zero. Any help?

Member Avatar for gusano79
0
241
Member Avatar for mnkyskilz

hi i am required to write a program in mips assembler where i am to create a checkerboard which is too be saved and written to a bmp file, compile this program it has a problem with writing the file because it jumps straight to my error message could someone …

0
284
Member Avatar for Trle94

Okay hello everyone, so I'm using this class to protect app from user using hotkeys while form is running: Imports System.Runtime.InteropServices Imports System.Reflection Public Class KeyboardJammer Private Delegate Function HookCallback(ByVal nCode As Integer, ByVal wParam As Integer, ByVal lParam As IntPtr) As Integer Private Shared HookDelegate As HookCallback Private Shared …

Member Avatar for Trle94
0
201
Member Avatar for selamina

1. Write a program to demonstrate Disk I/O with good functionalities for ELASS or any other assembler of your choice. The program should at least deal with the following functionalities:  Open an existing file (let’s say a text file)  Seek to a specific location in the file  …

Member Avatar for ddanbe
-2
112
Member Avatar for Papa_Don

I'm making some "cleanup" changes to my 1st VB.net project that I'm publishing. The project has an "Assembly Name". But I've just realized that the Root Namespace has the default name of "WindowsApplication1". I've got to believe this needs to be changed. How important is the name I put here? …

Member Avatar for Nutster
0
1K
Member Avatar for saly.alsayed.7

1) When the program is executed, it asks the user to enter a password 2) When the user enters password, its characters should not appear and * must appear for each character. 3) The program compares this password with hardcoded constant password (e.g. pass DB ‘Abc123’). 4) If the entered …

Member Avatar for saly.alsayed.7
0
275
Member Avatar for Dani

This is a program I wrote for my x86 assembly class which is basically the Spade Invaders game in all its glory. It uses Irvine32.inc which came with the textbook.

Member Avatar for Dani
2
2K
Member Avatar for OMER AHMED

why i am receiving this error and how i can solve it See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at WindowsApplication1.fol_hide.fol_hide_Load(Object sender, EventArgs e) in D:\Projects\3 …

Member Avatar for OMER AHMED
0
740
Member Avatar for JOSheaIV

So hopefully the title makes a little sense, but I'll explain a little more. Currently I am developing a program at work that is designed to query a SQL database for results. The code is meant to be stand alone, a single .exe that can be run on any machine. …

Member Avatar for JOSheaIV
0
344
Member Avatar for Francis_2

MIPS program that takes an array elements as inline data and prints them in ascending and descending orders input should be interacive. I don't know where to fix.... help me to fix. .text main: li $t4, 9999 #$t4 = 9999 la $s0, array #$s0 = address of array[0] move $a1, …

Member Avatar for Schol-R-LEA
0
652
Member Avatar for Roger_2

hello everyone! my program is nearing completion and is due tommrow. However i have identified the source of an issue. i am cycling through a few functions which roll a dice 1-6 and add that result to a buffer to keep score.Then when i want to print, i am only …

0
110
Member Avatar for Roger_2

thank you all of you for the help i really appreciate it. i have a hopefully quick question, is this the correct syntax for adding an integer to a buffer: " add dword [userScore], 6 " or do i have to convert the userScore buffer to integer then add and …

Member Avatar for Roger_2
0
244
Member Avatar for Roger_2

my objective is to create a simple game called Pig. The rules are 2 players (you and the computer) are racing to reach 100 points. Each turn, the active player faces a decision: a) Hold, take your turn total and add it to the player's overall total. The next player …

Member Avatar for Roger_2
0
354
Member Avatar for Blueie

Hello I am testing a couple of the form fields that I have here: [Click Here](http://www.bayingwolf.com/changePassword.jpg) If I type in an invented password under 'Old password', invent a password under 'New password', and then, under 'Confirm password', I type in a wrong password, I get the following error when I …

0
104
Member Avatar for amatsas

Hello, I am working on a project with the following directions: Store a name as ASCII Hex values in an array – enter Hex values into ASM source code directly. First character of first and last name is Capitolized, all other characters are lower case. Output 3 different strings: 1. …

Member Avatar for David_50
0
117
Member Avatar for Roger_2

I have tried with the algorithm below but it does not generate the results i am looking for and i am a bit stumped. I have tried swapping the elements in the array, unless you know there is a less trouble sum alternative example: 1,2,3,4,5 becomes 5,4,3,2,1. i have searched …

Member Avatar for nullptr
0
1K
Member Avatar for Roger_2

Generally, my professor's assignments are vague with limited constraints. while this allows the opportunity to become resourceful and creative, there are some like i who are blindly lost without a push in the right direction, this is my assignment please any insight is much appreciated. We are going to work …

Member Avatar for sbesch
0
1K
Member Avatar for Roger_2

please help me, i need to print my array in nasm. this is what i have so far, section .bss section .data array dd 1,2,3,4,5 arraylen equ $ - array section .text global _start: _start: mov edx, arraylen mov ecx, array mov ebx, 1 mov eax, 4 int 80h exit: …

Member Avatar for Roger_2
0
14K
Member Avatar for lithium112

Ok, I am really hoping there is someone who has some experience with old Cobol forms(exe's) and loading them into an MDI Parent as an MDI child. At the moment, I am calling the exe file as a process, but from what I see at the moment, there is no …

Member Avatar for lithium112
0
141
Member Avatar for Roger_2

my assignment involves creating a grading program. my program must accept a number from the user within the 0 - 100 range and return the corresponding letter grade based on this rubric: 90 to 100 = A 80 to 89 = B 70 to 79 = C 60 to 69 …

Member Avatar for sbesch
0
3K
Member Avatar for Roger_2

I am attempting to reverse an array2 however my program seg faults and ends right at `mov eax, dword [edi]` . theoretically this should work just fine. please any insight or alternative method/recommendations, my professor and pupils are equally stumped. Anything is much appreciated, this is my code: global _start: …

Member Avatar for sbesch
0
294
Member Avatar for mona.khalil.902

I want to read from three files, each containing let say name and grade for a student (only using tASM or Emulator)

Member Avatar for gusano79
0
61

The End.