This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ORG $0 | |
| DC.L $2200, $8 ; define sp and pc | |
| ; VIA Configuration | |
| ; Will be used to see if bit#0 of the switch | |
| ; to determine if the board is a receiver or transmitter | |
| ; and to display the percentage of the receiver's buffer | |
| ; +----+----+------+----------+ | |
| ; | A2 | A0 | CR#2 | Register | | |
| ; +----+----+------+----------+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Read some sectors from the boot disk using our disk_read function | |
| [org 0x7c00] | |
| xor ax, ax | |
| mov es, ax | |
| mov ds, ax | |
| mov ss, ax | |
| mov bx, MSG | |
| call print_string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; testing code | |
| [org 0x7c00] | |
| mov bx, MSG | |
| call print_string | |
| MSG db 'hello', 0 | |
| jmp $ ; hang |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.shakhatreh; | |
| import javax.net.ssl.HttpsURLConnection; | |
| import javax.net.ssl.SSLPeerUnverifiedException; | |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.net.URL; | |
| import java.net.URLEncoder; | |
| import java.security.cert.Certificate; |