Giter VIP home page Giter VIP logo

asmc's People

Contributors

nidud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

asmc's Issues

Empry line isssue

Hi Nidud,

Thanks for maintaining Asmc. Testing the latest release with the include files coming with the Masm32 SDK :

G:\asmc-master>bin\asmc.exe /Zi /Zf /Zd Test.asm

Asmc Macro Assembler Version 2.34.39
Copyright (C) The Asmc Contributors. All Rights Reserved.

 Assembling: Test.asm

***********
ASCII build
***********

\masm32\include\winextra.inc(1871) : error A2157: missing right parenthesis
 \masm32\include\winextra.inc(1871): Included by
  \masm32\include\windows.inc(26889): Included by
   Test.asm(5): Main line code
\masm32\include\winextra.inc(1871) : error A2008: syntax error : IS_VALIDSTATEBITS
 \masm32\include\winextra.inc(1871): Included by
  \masm32\include\windows.inc(26889): Included by
   Test.asm(5): Main line code

The empty line in winextra.inc is the offending one :

ELSE
    SHARD_PATH equ SHARD_PATHA
ENDIF
                                                                    <----- Empty line 1871
SHARD_PIDL                       equ 00000001h
SHCDF_UPDATEITEM                 equ 00000001h

The error message is reported in the Masm Forum.

Issue with ALIAS

Hi Nidud,

Poasm v12 can assemble the code below without any issues :

.386
.model flat,stdcall
option casemap:none

OutputText PROTO C :DWORD,:VARARG

ALIAS <OutputText>=<printf>

END

printf is exported by msvcrt.lib The purpose is to map the new symbol OutputText to the printf function.

Trying to assemble with asmc :

asmc.exe /coff Alias.asm

Asmc Macro Assembler Version 2.34.50
Copyright (C) The Asmc Contributors. All Rights Reserved.

 Assembling: Alias.asm
Alias.asm(7) : error A2005: symbol redefinition : OutputText

Linux -? not working

Hi

asmc -? does not work under linux (no matches found: -?) but asmc -h (Manjaro linux zsh) idk for win

And thank you for this...seems that GTK apps are much easier to write now :)

Compilation error with GCC 11.4

Assembling: src/tokenize.asm
gcc -Wl,-pie,-z,now,-z,noexecstack -s -o asmc64 *.o
 Assembling: src/typeid.asm
/usr/bin/ld: assemble.o: in function `SetMasm510':
assemble.asm:(.text+0xb5e): undefined reference to `Tokenize'
/usr/bin/ld: data.o:(.text+0x1c8): undefined reference to `Tokenize'
/usr/bin/ld: data.o:(.text+0x1e6): undefined reference to `Tokenize'
/usr/bin/ld: data.o:(.text+0x365): undefined reference to `Tokenize'
/usr/bin/ld: data.o:(.text+0x407): undefined reference to `Tokenize'
/usr/bin/ld: data.o:(.text+0x5bf): more undefined references to `Tokenize' follow
/usr/bin/ld: macro.o: in function `StoreMacro':
macro.asm:(.text+0x6b5): undefined reference to `GetToken'
/usr/bin/ld: macro.asm:(.text+0x708): undefined reference to `GetToken'
/usr/bin/ld: macro.asm:(.text+0x7c1): undefined reference to `GetToken'
/usr/bin/ld: macro.asm:(.text+0x9b2): undefined reference to `GetToken'
/usr/bin/ld: mem2mem.o: in function `mem2mem':
mem2mem.asm:(.text+0x703): undefined reference to `Tokenize'
/usr/bin/ld: mem2mem.asm:(.text+0x787): undefined reference to `Tokenize'
/usr/bin/ld: new.o:(.text+0x3f6): undefined reference to `Tokenize'
/usr/bin/ld: parser.o: in function `ParseLine':
parser.asm:(.text+0x346b): undefined reference to `Tokenize'
/usr/bin/ld: parser.asm:(.text+0x34cd): undefined reference to `Tokenize'
/usr/bin/ld: parser.o:parser.asm:(.text+0x4026): more undefined references to `Tokenize' follow
collect2: error: ld returned 1 exit status
make: *** [makefile:58: asmc64] Error 1
 Assembling: src/types.asm
 Assembling: src/undef.asm
gcc -Wl,-pie,-z,now,-z,noexecstack -s -o asmc *.o

Using GCC 11.4.1. It builds with 13.1 though.

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.