Author Topic: 1394bus.inc  (Read 5280 times)

bomz

  • Guest
1394bus.inc
« on: February 19, 2013, 03:03:03 AM »
Quote
.386

.model flat, stdcall
option casemap :none

include \MASM32\INCLUDE\windows.inc
include \MASM32\INCLUDE\kernel32.inc
includelib \MASM32\LIB\kernel32.lib
include \MASM32\INCLUDE\1394bus.inc
includelib \MASM32\LIB\1394bus.lib

.code
start:
invoke ExitProcess,0
end start

Quote
\MASM32\INCLUDE\1394bus.inc(5) : error A2048:nondigit in number
\MASM32\INCLUDE\1394bus.inc(6) : error A2048:nondigit in number
\MASM32\INCLUDE\1394bus.inc(10) : fatal error A1010:unmatched block nesting


may be some info from MS 1394bus.inc need?

qWord

  • Member
  • *****
  • Posts: 1475
  • The base type of a type is the type itself
    • SmplMath macros
Re: 1394bus.inc
« Reply #1 on: February 19, 2013, 03:07:51 AM »
выучить английский язык!
MREAL macros - when you need floating point arithmetic while assembling!

bomz

  • Guest
Re: 1394bus.inc
« Reply #2 on: February 19, 2013, 03:32:02 AM »
Quote
   IFNDEF BUS_INC
   BUS_INC equ <1>

name begin with numeric character
How use this lib with masm?

qWord

  • Member
  • *****
  • Posts: 1475
  • The base type of a type is the type itself
    • SmplMath macros
Re: 1394bus.inc
« Reply #3 on: February 19, 2013, 03:42:22 AM »
name begin with numeric character
Вам решить эту проблему, прочитав сообщение об ошибке - очень хорошо  :t

How use this lib with masm?
by calling the declared function?  :icon_confused:
MREAL macros - when you need floating point arithmetic while assembling!

bomz

  • Guest
Re: 1394bus.inc
« Reply #4 on: February 19, 2013, 03:50:14 AM »
error don't say me anything because I don't know what mean IFNDEF

google. the best

Вам решить эту проблему, прочитав сообщение об ошибке - очень хорошо
You to decide this problem, reading this error message - very good
~back translation. I don't remmeber anything about English TIME

Chinese google better translate to english . I understand much more making remaining eng2rus myself

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: 1394bus.inc
« Reply #5 on: February 19, 2013, 05:24:31 AM »
IFNDEF - "if the symbol is not defined"

that code is used to generate a warning if you include the file more than once   :P

if the symbol is not defined, it defines it, then includes the rest of the text
if the symbol is already defined, it generates a warning message during assembly