3,896 Topics
![]() | |
Hi I want Example for code in assembly language to develop alarm clock using **8085 microprocessor** As soon as you can Thanks | |
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 … | |
I need to know how to install MASM on my laptop? anyone please ,if there is online site to download it ..tell me. | |
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 … | |
if Al < 0 then put ffh in Ah else put 0 in Ah End_iF | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 :). | |
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 … | |
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 … | |
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 , … | |
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 … | |
Please explain the difference between the two mentioned above.what is assembly in a c# program? Thnx | |
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 … | |
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 … | |
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 += … | |
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???? | |
I am wondering is assembly still used at all or is something else preferred | |
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 … | |
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 … | |
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> … | |
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? | |
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 … | |
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 … | |
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 … | |
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? … | |
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 … | |
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. | |
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 … | |
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. … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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: … | |
![]() | 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 … ![]() |
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 … | |
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: … | |
I want to read from three files, each containing let say name and grade for a student (only using tASM or Emulator) |
The End.