Skip to content

Commit

Permalink
Initial upload and creation of README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfearless committed Sep 2, 2018
1 parent e801b21 commit e37dba3
Show file tree
Hide file tree
Showing 43 changed files with 103,443 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
* text eol=crlf
*.exe binary
*.dll binary
*.zip binary
*.obj binary
*.res binary
*.lib binary
*.dlg binary
*.mnu binary
*.ttf binary
*.ico binary
*.bmp binary
*.png binary
*.jpg binary
*.tpl linguist-language=Text
*.inc linguist-language=Assembly
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
bak/
*.undo
*.obj
*.pdb
*.ilk
*.exp
*.bak
Help/
template/
downloads/
screenshots/
wiki/
version/
go.bat

84 changes: 84 additions & 0 deletions AddIns/UASM32.ct
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{assume}
assume ~:ptr
{assume nothing}
assume ~:nothing
{comment function}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; PARAMETERS : ~
;;
{dialog close}
invoke SendMessage,hWnd,WM_CLOSE,0,0
{forever loop }
.while TRUE

.break .if ~

.endw
{frame none}
OPTION PROLOGUE:NONE
OPTION EPILOGUE:NONE
{frame default}
OPTION PROLOGUE:PROLOGUEDEF
OPTION EPILOGUE:EPILOGUEDEF
{ifdef block}
IFDEF

ELSE

ENDIF
{inc other}
include gdi32.inc
includelib gdi32.lib
include comctl32.inc
includelib comctl32.lib
include comdlg32.inc
includelib comdlg32.lib
include shell32.inc
includelib shell32.lib
include advapi32.inc
includelib advapi32.lib
{message box}
invoke MessageBox,0,T('~'),0,0
{repeat ge? inc ecx}
xor ecx,ecx
.repeat

inc ecx
.until ecx >= ~
{repeat s? dec ecx}
mov ecx,~
.repeat

dec ecx
.until sign?
{repeat z? dec ecx}
mov ecx,~
.repeat

dec ecx
.until zero?
{uses esi edi ebx}
uses esi edi ebx
{while a? dec ecx}
.while ecx > ~

dec ecx
.endw
{while be? inc ecx}
mov ecx,~
.while ecx <=

inc ecx
.endw
{while be? macro}
xi = 0
while xi lt
~
xi = xi + 1
endm
{}

/////////////// this file goes to /Addins /////////////////


262 changes: 262 additions & 0 deletions AddIns/UASM32.kwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
UASM32-specific keywords
UASM32-specific keywords
!=Comparison run-time operators
!=Comparison run-time operators
$=Location Counter $
&=Comparison run-time operators
&&=Comparison run-time operators
.break
.code
.const
.continue
.cref
.data
.data?
.else=.IF
.elseif=.IF
.endif=.IF
.endw=.while
.err
.errb
.errdef
.errdif
.erre
.erridn
.errnb
.errndef
.errnz
.if
.list
.listall
.listif
.listmacro
.listmacroall
.model
.model=.MODEL directive
.nocref
.nolist
.nolistif
.nolistmacro
.radix
.repeat
.tfcond
.while
?=Data Initialisation ?
@@:=Local Code Labels
@argrev=Macro Function Reverse Ordering
@b=Local Code Labels
@f=Local Code Labels
\=Line Continuation
<=Comparison run-time operators
<=Comparison run-time operators
=Name Assignment
=Comparison run-time operators
>=Comparison run-time operators
>=Comparison run-time operators
ac=Processor Flags
addr=INVOKE
af=Processor Flags
ah=Register Summary
al=Register Summary
align
argi=Macro Function ArgI
assume
basic=Calling Conventions
bh=Register Summary
bl=Register Summary
bp=Register Summary
byte=Data Types
c=Calling Conventions
casemap=OPTION CASEMAP
catstrinstr
cf=Processor Flags
ch=Register Summary
cl=Register Summary
comment
compact=Memory model
cr0=Register Summary
cr1=Register Summary
cr2=Register Summary
cr3=Register Summary
cs=Register Summary
db=Data Types
dd=Data Types
df=Data Types
df=Processor Flags
dh=Register Summary
di=Register Summary
dl=Register Summary
dotname=OPTION DOTNAME
dq=Data Types
dr0=Register Summary
dr1=Register Summary
dr2=Register Summary
dr3=Register Summary
dr4=Register Summary
dr5=Register Summary
dr6=Register Summary
dr7=Register Summary
ds=Register Summary
dt=Data Types
dup
dw=Data Types
dword=Data Types
eax=Register Summary
ebp=Register Summary
ebx=Register Summary
echo
ecx=Register Summary
edi=Register Summary
edx=Register Summary
eip=Register Summary
elseif=[ELSE]IF
elseifb=[ELSE]IFB
elseifdef=[ELSE]IFDEF
elseifdif=[ELSE]IFDIF[I]
elseifdifi=[ELSE]IFDIF[I]
elseife=[ELSE]IF
elseifidn=[ELSE]IFDIF[I]
elseifidni=[ELSE]IFDIF[I]
elseifnb=[ELSE]IFB
elseifndef=[ELSE]IFDEF
emulator=OPTION EMULATOR
end
endm
endp=proc
ends=STRUCT
epilogue=OPTION EPILOGUE
eq=Relational Operators
equ
es=Register Summary
esi=Register Summary
esp=Register Summary
exitm
expr16=OPTION EXPR16
expr32=OPTION EXPR32
extern
externdef
flat=Flat memory model
for
forc
fortran=Calling Conventions
fs=Register Summary
fword=Data Types
gdtr=Register Summary
ge=Relational Operators
goto
gs=Register Summary
gt=Relational Operators
high
highword
huge=Memory model
idtr=Register Summary
if=Processor Flags
if=[ELSE]IF
if
ifb=[ELSE]IFB
ifdef=[ELSE]IFDEF
ifdif=[ELSE]IFDIF[I]
ifdifi=[ELSE]IFDIF[I]
ife=[ELSE]IF
ifidn=[ELSE]IFDIF[I]
ifidni=[ELSE]IFDIF[I]
ifnb=[ELSE]IFB
ifndef=[ELSE]IFDEF
include
includelib
invoke
iopl=Processor Flags
ip=Register Summary
label
language=OPTION LANGUAGE
large=Memory model
ldtr=Register Summary
le=Relational Operators
length
lengthof
ljmp=OPTION LJMP
local
low
lowword
lroffset
lt=Relational Operators
macro
macro local
mask
medium=Memory model
ne=Relational Operators
nf=Processor Flags
nodotname=OPTION NODOTNAME
noemulator=OPTION NOEMULATOR
nokeyword=OPTION NOKEYWORD
noljmp=OPTION NOLJMP
noreadonly=OPTION NOREADONLY
noscoped=OPTION NOSCOPED
nosignextend=OPTION NOSIGNEXTEND
of=Processor Flags
offset
opattr
option oldmacros=Nested Macros
org
pascal=Calling Conventions
pf=Processor Flags
popcontext
proc
prologue=OPTION PROLOGUE
proto
ptr
public
purge
pushcontext
qword=Data Types
readonly=OPTION READONLY
real10=Data Types
real4=Data Types
real8=Data Types
record
repeat
rf=Processor Flags
sbyte=Data Types
scoped=OPTION SCOPED
sdword=Data Types
segment=OPTION SEGMENT
sf=Processor Flags
short
si=Register Summary
size
size
size
sizeof
sizestr
small=Memory model
sp=Register Summary
ss=Register Summary
stdcall=Calling Conventions
struct
substr
sword=Data Types
syscall=Calling Conventions
tbyte=Data Types
textequ
tf=Processor Flags
this
tiny=Memory model
tr=Register Summary
tr3=Register Summary
tr4=Register Summary
tr5=Register Summary
tr6=Register Summary
tr7=Register Summary
type
type
typedef=TYPEDEF Directive
union
uses
vararg=VARARG (Proc)
vm=Processor Flags
while
width
width
word=Data Types
zf=Processor Flags
||=Comparison run-time operators
Binary file added AddIns/UASM32Parse.dll
Binary file not shown.
Loading

0 comments on commit e37dba3

Please # to comment.