Kernel, Virus and Programming

RISC-V progress

RISC-V encoding part & decoding part of assembler and disassembler for imc are done.


2020/07/20 0

RISC-V disassembler can decode whole RV32IC

I think i can finish the RISC-V disassembler these two weeks. So far it can successfully decode RV32IC and ELF.


2020/07/04 0

Netbeans antlr plugin can format antlr source file

My netbeans antlr plugin finally can format antlr source code


2020/06/26 0

riscv green card is wrong

c.sub should be CA format, not CR


2020/06/21 0

Arduino output sine wave, it works

My Arduino board has built-in DAC, can output sine wave.


2020/06/14 0

ASSEMBLER MEETUP #42, 2020/05/30

Doing RISC-V assembler, this is our first decode screen


2020/05/30 0

Netbeans bug

Netbeans 11.3 + JDK 13.0.2 + FlatLaf Light theme. Missing character “l” in the package name. If mouse over, tooptip shows correct name.


2020/05/28 0

Pnp provision framework

Pnp provision framework has these steps: 01/20 – Regional Settings02/20 – Supported UI Languages03/20 – Audit Settings04/20 – Site Security05/20 – Fields06/20 – Content Types07/20 – List instances08/20 – Features09/20 – Page Contents10/20 – Client Side Page Contents11/20 – Site Header12/20 – Site Footer13/20 – Property bag entries14/20 – Workflows15/20 – Web Settings16/20 – Site…
Read more


2020/05/27 0

6 hours to fix my antlr netbeans plugin

Used near 6 hours to fix my netbeans-antlr plugin. I have to remember these: Netbeans build in antlr library have to in-sync with the antlr i am using in my pluging. If they in different version, unexpected result will come out. In windows, if antlr grammar has some mistakes (I meant not problems, your grammar…
Read more


2020/05/09 0

ASSEMBLER MEETUP #41, 2020/05/09

added RISC-V supports to our testbench portal


2020/05/09 0

RISC-V boards arrived

Let’s do some real experiments on these boards: https://item.taobao.com/item.htm?spm=a230r.1.14.201.65363b3cWNnt8y&id=609421832198&ns=1&abbucket=1#detail https://item.taobao.com/item.htm?spm=a230r.1.14.213.65363b3cWNnt8y&id=606277334580&ns=1&abbucket=1#detail


2020/05/04 0

Met Rick

2020/04/30. Our assembler team met Rick, Rick is come from America, our first team member from USA. Jenny shown her about the assembler design and Rick share his opinions about the UBC.


2020/05/01 0

Great blog about vscode extension development

https://www.cnblogs.com/liuxianan/p/vscode-plugin-common-api.html


2020/04/12 0

ASSEMBLER MEETUP #37, 2020/04/11

We agreed to put x86 and risc-v assembler code into one project, so up one level for the java package, make it ready to stuck in risc-v code I will write the first risc-v assembly grammar and upgrade www.quantr.hk/asmweb to support risc-v test cases Learning vscode extension development, make myself ready to create a debugger…
Read more


2020/04/11 0

Assembler Meetup #34, 2020/03/21

Only 42 instructons are wrong. We are close to first milestone. Will study “Island Grammar”, hope it is the way to embed other antlr grammar from the main one.


2020/03/22 0

Let’s encrypt generate wildcard cert

This works https://medium.com/@saurabh6790/generate-wildcard-ssl-certificate-using-lets-encrypt-certbot-273e432794d7


2020/03/15 0

Assembler Meetup #32, 2020/03/07

Still working on the Antlr grammar to supports “Label” Very naive skillset on Antlr, just bouht the english version of this book, re-read it again. Chinese one not very comfortable to read. We think we can complete the first release of the assembler within 3 months.


2020/03/07 0

spfx becoming super slow after added package buffer

After i added : “buffer”: “^5.4.3” , the “gulp serve –nobrowser” become super slow, stuck in Starting subtask ‘configure-webpack’. I am using spfx 1.10.0 my package.json


2020/02/29 0

Netbeans 11.2 still hand in startup, mac catalina

Delete crash modules’ xml in /Users/peter/Library/Application Support/NetBeans/11.2/config/Modules


2020/02/27 0

SharePoint coloring bug using latest spfx 1.10.0

Using the latest SPFx SDK, the theme color varable $ms-color-themeDark doesn’t work, it doesn’t affect the theme color, see below To fix it add this line @import ‘~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss’;


2020/02/20 0

Assembler Meetup #30, 2020/02/15

As usual, meet in Festival Walk, sync-ed up our verilog skill, stuck in the “imm | label” to grammar. Only 64 instructions left.


2020/02/16 0

Assembler Meetup #29, 2020/02/01

Fixed all wrong testcases excepts ptwrite Only 87 wrong instructions are wrong encoding now


2020/02/02 0

Assembler Meetup #28, 2020/01/25

Nothing special, still doing the “jump/call label”, i can get the information (line number & offset) i need


2020/02/02 0

Assembler Meetup #27, 2020/01/18

Peter : Adding support to “Label”. Rest of people keep encoding x86 instructions.


2020/01/19 0

Assembler Meetup #26, 2019/12/28

Desmond completed encoded all “OR” instructions, that proves the encoding method is mature. We heading toward our first milestone, complete encode all intel basic instructions. Peter has added all test case. To see our progress, go to http://www.quantr.hk/asmweb


2020/01/02 0

Microsoft provides “public client” sample code

https://docs.microsoft.com/bs-latn-ba/azure/active-directory/develop/sample-v2-code


2019/12/19 0

推薦一個國產示波器連logic analyzer

http://www.hantek.com/en/productdetail_153.html


2019/12/15 0

Assembler Meetup #24, 2019/12/14

Good progress on shorten the grammar file. Desmond join the translation. Peter pickup the pe generator task.


2019/12/14 0

SharePoint粉絲注意 : 新書上市Mastering Sharepoint Framework

Table of Contents1. Getting Started with SharePoint Framework2. Develop Your First SPFx Web Part3. SPFx Web Part Property Pane4. Custom Controls for Web Part Property Pane5. PnP Controls for Web Part Property Pane6. CSS Considerations7. Configure SPFx Web Part Icon8. Examine SPFx Web Parts on Modern SharePoint9. Host SPFx Web Parts from MS Azure CDN10.…
Read more


2019/12/14 0

Assembler Meetup #23, 2019/12/07

Meet in MongKok. Mainly shorten the grammar. Jenny confirmed each instruction can be translated by same five functions. We confirmed if instruction has only one operand, we have to add byte/word/dword/qword, e.g.: inc byte [ax] And some instructions such as call doesn’t support all four combinations of byte/word/dword/qword, this “call byte [ax]” will report error…
Read more


2019/12/07 0