Recent Posts

Pages: [1] 2 3 ... 10
1
Compiler Based Assembler / using Borland ilink32
« Last post by Emil_halim on June 28, 2017, 09:56:45 PM »
Hi ALL,

To use ilink32 of Borland , just first download a BorlandC++ trail version in your system.

then try the next Example , needs NewSphinxCmm version 256.

Code: [Select]
/***************************************
*          New Sphinx Cmm              * 
*                                      *
*     using ilink  By Emil Halim       *
*                                      *
***************************************/

#pragma option w32c       //create Windows console EXE.
#pragma option OS         //speed optimization

#pragma option obj        //tells NewSphinxCmm to do not link

#OnExit "ilink32 /ap /m -s  -Gt -Gn  $OFILE$.obj c0x32.OBJ , , , import32.lib cw32.lib , , "
 
#includepath "$\winlib" 

#include <windows.h> 

#pragma option LST
#pragma option ia

dword dumy;   // disable error of missing a section of class 2 by ilink

/*------------------------*/
extern cdecl _printf();   
#define printf  _printf

extern cdecl _strlen();   
#define strlen  _strlen

extern cdecl _system();   
#define system  _system

_main()
{
main:
   printf("hello world ......\n\n");
   printf("using ilink Borland linker ......\n\n");
   
   printf("the length of welcome = %d\n\n" , strlen("welcome"));
   
   system("pause");   
}
/*------------------------*/

 
2
Compiler Based Assembler / Re: NewSphinxCmm
« Last post by Emil_halim on June 28, 2017, 09:51:29 PM »
Hi all'

NewSphinxCmm ver 256 c is available in my site.

added .break .if directive.

obj file is OMF by default.   

Enjoy coding with NewSphinxCmm.
3
The Colosseum / Re: €2,420 million fine
« Last post by jj2007 on June 28, 2017, 07:52:03 PM »
I am with AW on this one, large American corporations cannot be trusted. Endless scraping any information they can for both their own advertising revenue AND keeping the NSA/CIA/Homeland Security happy

Agreed. It seems that the EU is trying to show their teeth, in view of the Volkswagen scandal an interesting move. A trade war? Who knows...

The main point with privacy IMHO is that you and I couldn't care less: There are so many terabytes of crappy data around that nobody can handle that. We are just not interesting enough to justify a look by a human eye. But beware if anybody shows "potential", be it as a CEO or as a politician. As soon as Big Brother wants to know details about one single person among the 8,000,000,000 Earth Citizens, that person is in trouble. They will always find some nasty detail, just watch how they dissect the candidates for a judge's post in the U.S. Supreme Court. I bet all of them can be blackmailed, and will obey to the orders.
4
The Colosseum / Re: €2,420 million fine
« Last post by aw27 on June 28, 2017, 06:52:00 PM »
Don't we like it? Let's make something better, or at least don't we use it... if we can :biggrin:
The search engine has some value in spite of the biaised results. But this is only the candy face of a monster that may know more about you than your best friends.  :shock:
5
MasmBasic & the RichMasm IDE / Re: Throwing the dice... fast
« Last post by jj2007 on June 28, 2017, 06:32:33 PM »
Thanks, folks :biggrin:

It was not really meant as a Lab exercise, but if you insist: Here is an improved version.

For those interested in fast and good random generators, attached an overview of available random generators extracted from the CAcert Research Lab site. They are sorted by speed, but check the top twenty for quality, too. MasmBasic Rand() has one minor weak point called "6x8 matrix rank", apart from that it's in the top range for randomness. Alex Bagayev and myself developed it about 7 years ago, the exercise starts roughly here :icon_cool:
6
The Colosseum / Re: €2,420 million fine
« Last post by caballero on June 28, 2017, 06:06:03 PM »
Don't we like it? Let's make something better, or at least don't we use it... if we can :biggrin:
7
MasmBasic & the RichMasm IDE / Re: Throwing the dice... fast
« Last post by LiaoMi on June 28, 2017, 05:03:13 PM »
Code: [Select]
Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
8919 ms for 3000 Million loops
0       0
1       500006877
2       500000600
3       499995703
4       499998108
5       499994077
6       500004636
7       0

Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
8900 ms for 3000 Million loops
0       0
1       500008899
2       499997171
3       500014229
4       500000482
5       499973446
6       500005774
7       0
8
The Colosseum / Re: €2,420 million fine
« Last post by hutch-- on June 28, 2017, 10:17:34 AM »
I am with AW on this one, large American corporations cannot be trusted. Endless scraping any information they can for both their own advertising revenue AND keeping the NSA/CIA/Homeland Security happy by kissing their arse. Microsoft I am used to but recently setting up this tablet I have been playing with, you had to keep fighting off the number of attempts to extract ever more information out of you.
9
MasmBasic & the RichMasm IDE / Re: Throwing the dice... fast
« Last post by Siekmanski on June 28, 2017, 07:24:49 AM »
Code: [Select]
Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz
9430 ms for 3000 Million loops
0       0
1       500010164
2       499990657
3       499990338
4       499988862
5       500010734
6       500009246
7       0
10
The Colosseum / Re: €2,420 million fine
« Last post by nidud on June 28, 2017, 06:18:42 AM »
You get a different view from the outside looking in, something the Brits now gradually waking up to. In this there are some hope in the coming negotiations that may lead to some improvements.

However, there are some good things coming out of the union as well and I think the monopoly regulation for big corporations, like Microsoft and Google, is one of those good things.
Pages: [1] 2 3 ... 10