Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Compiling Interpretable Extended Byte Code fails with the error "Unsupported op" when "compare variable"-instructions are used

(you are viewing a thread; or go back to list of threads)

Compiling Interpretable Extended Byte Code fails with the error "Unsupported op" when "compare variable"-instructions are used (by Marcel)
Seems like xinterpreted.cpp is out of date? I tried compiling ldmicro.exe with "#define NEW_CMP" line in intcode.h commented out, but this generates a lot of compile errors.

What can I do?
Thu Jan 31 2019, 17:03:34
(no subject) (by Marcel)
Sorry, used version is Github 4.4.3.0 according to About...
Thu Jan 31 2019, 17:06:11
(no subject) (by Josť GILLES)
Try to use version 5.2 from other Github (cf link in other thread) and let me know what happens ?

JG
Fri Feb 1 2019, 05:37:54
(no subject) (by Greg Blackwell)
Marcel,

The #define NEW_CMP" was likely the current setting in Nehrutsa Ihor's version of LDmicro.

What error did you get with the 4.4.3.0 version that made you try commenting this out?
Fri Feb 1 2019, 22:04:11
(no subject) (by Marcel)
Commenting "#define NEW_CMP" gives these complation errors:
intcode.cpp(1899): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(1961): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2028): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2089): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2091): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2144): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2146): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2187): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2198): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2207): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2213): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2219): error C2065: 'INT_IF_LES': undeclared identifier
intcode.cpp(2248): error C2065: 'INT_IF_GRT': undeclared identifier
intcode.cpp(2259): error C2065: 'INT_IF_GRT': undeclared identifier
Sun Feb 3 2019, 13:49:06
(no subject) (by Marcel)
I fetched the zip from https://github.com/joegil95/LdMicro32 to obtain v5.2a. But the makefile seems to be missing?
Sun Feb 3 2019, 14:00:09
(no subject) (by Josť GILLES)

I don't use Makefile ; I compile sources in VC++ IDE.
But you can use v4.4.3 makefile as well ?

J. Gilles
Mon Feb 4 2019, 01:46:23
(no subject) (by Marcel)
What parameters do you use while "generating project from existing sources"? Or is there a different way to create a project in visual studio?
Thu Feb 7 2019, 16:07:31
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):