Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-heinz committed Feb 1, 2020
1 parent da52a13 commit 4fb5bbd
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 1 deletion.
1 change: 1 addition & 0 deletions Arrowgene.Services.Playground/Demo/TcpEchoDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ private void LogProviderOnLogWrite(object sender, LogWriteEventArgs logWriteEven

public void Start()
{

AsyncEventSettings settings = new AsyncEventSettings();
_consumer = new BlockingQueueConsumer();
_server = new AsyncEventServer(IPAddress.IPv6Any, 2345, _consumer,settings);
Expand Down
7 changes: 7 additions & 0 deletions Arrowgene.Services/Assembly/OpCode.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Arrowgene.Services.Assembly
{
public abstract class OpCode
{
// https://github.com/libcpu/libcpu/blob/master/arch/x86/x86_decode.cpp
}
}
19 changes: 19 additions & 0 deletions Arrowgene.Services/Assembly/X86/ROL.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;

namespace Arrowgene.Services.Assembly.X86
{
public class ROL : OpCode
{
public static UInt64 RotateLeft(UInt64 x, int n) {
return (x << n) | (x >> (64-n));
}

public static UInt32 RotateLeft(UInt32 x, int n) {
return (x << n) | (x >> (32-n));
}

public static UInt16 RotateLeft(UInt16 x, int n) {
return (ushort) ((x << n) | (x >> (16-n)));
}
}
}
22 changes: 22 additions & 0 deletions Arrowgene.Services/Assembly/X86/ROR.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System;

namespace Arrowgene.Services.Assembly.X86
{
public class ROR : OpCode
{
public static UInt64 RotateRight(UInt64 x, int n)
{
return (x >> n) | (x << (64 - n));
}

public static UInt32 RotateRight(UInt32 x, int n)
{
return (x >> n) | (x << (32 - n));
}

public static UInt16 RotateRight(UInt16 x, int n)
{
return (ushort) ((x >> n) | (x << (16 - n)));
}
}
}
2 changes: 1 addition & 1 deletion services.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.13.2
1.13.3

0 comments on commit 4fb5bbd

Please sign in to comment.