Code Monkey home page Code Monkey logo

necroassembler's People

Contributors

rdeioris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

resonancellc

necroassembler's Issues

Error with label value when assembly with 6502

Hi,
I am trying to compile my file written for 6502 with the necroassembler

necro_6502.exe Assemblyes/6502/Snake/Snake.S Assemblyes/6502/Snake/Snake.bin

but every time I issue the command I get this error message:

Traceback (most recent call last):
File "C:\Users\lollo\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\lollo\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "D:\Documents\AIV\III Anno\venv\Scripts\necro_6502.exe_main
.py", line 7, in
File "D:\Documents\AIV\III Anno\venv\lib\site-packages\necroassembler\assembler.py", line 825, in main
asm.link()
File "D:\Documents\AIV\III Anno\venv\lib\site-packages\necroassembler\assembler.py", line 261, in link
self._resolve_labels()
File "D:\Documents\AIV\III Anno\venv\lib\site-packages\necroassembler\assembler.py", line 237, in _resolve_labels
raise NotInBitRange(true_address, total_bits, label)
necroassembler.exceptions.NotInBitRange: label "game" with value -130 is not in the 8 bit range

This is my file

I noticed that if I delete 3 lines of code (apparently at random) the error disappears

Any advice?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.