Question
So I need an assembly x86 Intel program to make a sudoku grid (just needs to be a 9x9 grid with random numbers in each
So I need an assembly x86 Intel program to make a sudoku grid (just needs to be a 9x9 grid with random numbers in each box). I have asked this question on chegg and have gotten a code but it doesn't run on emu8086 nor dosbox. I found another code in some website and same issue. I also found a c file, then converted it to intel asm from some converting website and same issue. I think either the codes are wrong or im running it wrong? please help me fix the codes or figure out my issues. Im going mental trying to figure this out. Im using windows 10 btw
------------------------------------------------------------------------
Code Verison 1: chegg; https://pastebin.com/Wkp1m7zR Error codes on line 19,23,23 (19) mismatched: data Ends (23) wrong parameters: MOV ax,data (23) probably no zero prefix for hex; or no 'h' suffix; or wrong addressing; or undefined var: data
Code Version 2: chegg: https://pastebin.com/UcApF676 Errors on lines 37,45,45 (37) mismatched: data Ends (45) wrong parameters: MOV ax,data (45) probably no zero prefix for hex; or no 'h' suffix; or wrong addressing; or undefined var: data
Code version 3: some site: http://www.kernel-panic.it/software/sudokiller/sudokiller.asm.html
Error on line 250. (250) duplicate declaration of: .RETURN
------------------------------------------------------------------------
HOW I RUN PROGRAMS
Where everything is on my PC: So idk if im running asm correctly but heres how my C drive looks like: in my c drive, i have emu8086 folder, TASM folder(i directly save my .asm files here and run them via "tasm filename" in DOSBox). My DOSBox is located in my D drive: D:\Program Files (x86)\DOSBox-0.74
Please help me figure out whats going on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started