.s
- Show the stack+
,-
,*
,mod
- Math operators/mod
- performs both / and mod
drop
and2drop
- drop a stack item (once / twice)dup
- duplicate a stack itemrot
- rotate the stack
; Short guide to TCP/IP Client/Server programming in Common Lisp using usockets | |
; | |
; The main reason for this guide is because there are very few examples that | |
; explain how to get started with socket programming with Common Lisp that I | |
; could understand. After spending a day trying, I finally came up with a small | |
; bit of code that makes it easy to understand the basics. I've written this | |
; primarily for myself, but should help others get started as well. | |
; As usual, we will use quicklisp to load usocket. |
;; -*- mode: lisp -*- | |
;; | |
;; A quick and dirty tree shaker for SBCL. Basically, it destroys the | |
;; package system and does a gc before saving the lisp image. Gives | |
;; about a 40% reduction in image size on a basic hello world test. | |
;; Would like to hear how it works on larger projects. | |
;; | |
;; Original idea from: https://groups.google.com/d/msg/comp.lang.lisp/6zpZsWFFW18/WMy4PyA9B4kJ | |
;; | |
;; Burton Samograd |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el | |
index e2d996f..d1458a2 100644 | |
--- a/lisp/progmodes/gud.el | |
+++ b/lisp/progmodes/gud.el | |
@@ -34,7 +34,7 @@ | |
;; and added a menu. Brian D. Carlstrom <[email protected]> combined the IRIX | |
;; kluge with the gud-xdb-directories hack producing gud-dbx-directories. | |
;; Derek L. Davies <[email protected]> added support for jdb (Java | |
-;; debugger.) | |
+;; debugger). llvm.org added support for lldb. |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
@ stm32f103 has 0x5000 (20K) SRAM | |
@ SRAM is starting from 0x20000000 | |
@ so stack is eq 0x20000000 + 0x5000 = 0x20005000 | |
@ flash starts from 0x08000000 | |
.syntax unified | |
.thumb | |
.cpu cortex-m3 | |
// | |
// main.m | |
// EndpointSecurityDemo | |
// | |
// Created by Omar Ikram on 17/06/2019 - macOS Catalina 10.15 Beta 1 (19A471t) | |
// Updated by Omar Ikram on 15/08/2019 - macOS Catalina 10.15 Beta 5 (19A526h) | |
// Updated by Omar Ikram on 01/12/2019 - macOS Catalina 10.15 (19A583) | |
// Updated by Omar Ikram on 31/01/2021 - macOS Big Sur 11.1 (20C69) | |
// Updated by Omar Ikram on 07/05/2021 - macOS Big Sur 11.3.1 (20E241) | |
// Updated by Omar Ikram on 04/07/2021 - macOS Monterey 12 Beta 2 (21A5268h) |
; All my gist code is licensed under the MIT license. | |
(defun safe-char-name (char) | |
"Return a printable representation of a character." | |
(cond ((graphic-char-p char) (format nil "'~C'" char)) | |
(t (format nil "#\\~A" (char-name char))))) | |
(defun get-character-range () | |
"Generates a list of characters ASCII characters." | |
(loop for code from 0 to 255 |