Skip to content

Add WDR1_KERNEL.ASM - XORNets assembly implementation#1

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-wdr1-kernel-asm
Draft

Add WDR1_KERNEL.ASM - XORNets assembly implementation#1
Copilot wants to merge 2 commits intomainfrom
copilot/add-wdr1-kernel-asm

Conversation

Copy link
Copy Markdown

Copilot AI commented Nov 19, 2025

XORNets implementation was missing its core kernel file.

Changes

  • WDR1_KERNEL.ASM - Complete x86 assembly implementation of XOR-based neural network
    • 2-2-1 network architecture (2 inputs → 2 hidden neurons → 1 output)
    • Training data for all XOR truth table cases (0⊕0=0, 0⊕1=1, 1⊕0=1, 1⊕1=0)
    • Forward propagation with threshold activation
    • Training loop with 1000 iterations
    • DOS interrupt-based I/O for testing and display
; Training data structure
input1_1    DB 0    ; First input of pair 1
input1_2    DB 0    ; Second input of pair 1
output1     DB 0    ; Expected output: 0 XOR 0 = 0
...

; Forward pass through network
FORWARD_PASS PROC
    ; Calculate hidden layer activations
    MOV AH, 0
    MUL w1_1
    ...

285 lines total covering network initialization, training, and testing routines.

Original prompt

XORNets is stored in a single assembler file called WDR1_KERNEL.ASM


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: magneato <1749826+magneato@users.noreply.github.com>
Copilot AI changed the title [WIP] Add XORNets assembler file WDR1_KERNEL.ASM Add WDR1_KERNEL.ASM - XORNets assembly implementation Nov 19, 2025
Copilot AI requested a review from magneato November 19, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants