lasher | Utility library for developing bash scripts
kandi X-RAY | lasher Summary
kandi X-RAY | lasher Summary
Utility library for developing bash scripts
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lasher
lasher Key Features
lasher Examples and Code Snippets
Community Discussions
Trending Discussions on lasher
QUESTION
I'm trying to program a maze solver in assembly. We are given a driver program that sends the current x position in the si register, the y position in the di register, the moving direction in the bx register and the maze itself in the bp register.
I'm supposed to check to see if the mouse can move left, then forward, then right then back.
My problem is that when i try to run this it doesnt seem to be modifying the si di or bx registers and i cannot find out why.
Can someone please look to see if there are any glaring issues that might be causing this. I never post on here but im running out of options thank you very much.
...ANSWER
Answered 2021-Mar-27 at 19:59; Output: x,y,dir modified in caller's data segment
Given this sentence in the preamble, I think it's rather a good thing that the SI
, DI
, and BX
registers are not modified by your maze solver...
One of the problems in your code is that you destroy the original data while testing is in progress. And because you need to test several times over, the subsequent tests will be using garbage data.
Within the procedure you must only work from the local copies of X and Y that you loaded in the DH
and DL
registers.
These have to go:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lasher
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page