Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/radeelahmad/assembly-code
various assembly language codes
https://github.com/radeelahmad/assembly-code
asm assembly assembly-language code
Last synced: about 2 months ago
JSON representation
various assembly language codes
- Host: GitHub
- URL: https://github.com/radeelahmad/assembly-code
- Owner: RadeelAhmad
- Created: 2024-07-15T11:41:08.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-20T19:16:33.000Z (6 months ago)
- Last Synced: 2024-11-21T01:43:53.706Z (about 2 months ago)
- Topics: asm, assembly, assembly-language, code
- Language: Assembly
- Homepage:
- Size: 884 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assembly-Code
## HOW TO RUN SCRIPTS
- Open up your Visual Studio
- Creat New Project
- Section choose C++ and then choose Empty Project.![image1](Images/image20.png)
- In the Project section, right-click first, then select Build Customization from the Build Dependencies section.
![image1](Images/image21.png)
- Now click the `masm`
![image1](Images/image22.png)
- Right-click in the Project section and select New Item from the Add section.
![image1](Images/image23.png)
- Make sure to use .asm extension.
![image1](Images/image24.png)
- After this you'll have your code editor ready
![image1](Images/image25.png)
---
## Setup of Irwin Library
- First, open Google and type irvine32 library.![image1](Images/image1.png)
- Click on the first link.
- Click on code button and download ZIP file.![image1](Images/image2.png)
- You see the file and extract the file.
![image1](Images/image3.png)
- After Extract the file open the folder.
![image1](Images/image4.png)
- Copy the address on file.
![image1](Images/image5.png)
- Then open the Visual studio.
![image1](Images/image6.png)
- Press **alt + Enter.**
![image1](Images/image7.png)
- Click On linker
- Select the additional directories and paste the address of folder.![image1](Images/image8.png)
- Then select the input
- Click on additional dependencies
- Write the `irvine32.lib`
- Click on apply and then OK botton![image1](Images/image9.png)
- Just like that write the `irvine32.lib` and click on OK button
![image1](Images/image10.png)
- Select the `.asm` file
- Click on the **properties**![image1](Images/image11.png)
- Select the Microsoft macro assembler
- Click on General
- Select the include paths
- And paste the address of file
- Click on apply and then ok![image1](Images/image12.png)
## After setup library
- Write the code of `irvine32 library`
- Here is the example of using irvine32 library```assembly
; Include Irvine32 library
include Irvine32.inc.data
userInput BYTE 80 DUP(?)
promptMsg BYTE "Please enter your name: ", 0.code
main PROCmov edx, OFFSET promptMsg
call WriteStringmov edx, OFFSET userInput
mov ecx, SIZEOF userInput
call ReadStringmov edx, OFFSET userInput
call WriteStringcall Crlf
exit
main ENDPEND main
```**You see that it will be successful run the code.**
![image1](Images/image13.png)