max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
kernel/Graphics/graphics_utils.asm | mschwartz/amos | 4 | 205297 | %macro BOCHS 0
xchg bx,bx
%endmacro
%macro bochs 0
xchg bx,bx
%endmacro
;; rdi = destination
;; rsi = src
;; rdx = width
;; rcx = height
;; r8 = dst pitch
;; r9 = src pitch
global CopyRect
CopyRect:
push rcx ; save height
mov rcx, rdx ; load width
push rsi ; save src
push rdi ; save dst
rep movsd ; co... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_125.asm | ljhsiun2/medusa | 9 | 205299 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xb974, %rsi
lea addresses_D_ht+0x6bea, %rdi
clflush (%rsi)
nop
xor %rdx, %rdx
mov $23, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %r14
lea addresses_UC_ht+0x8574, %rsi
lea addresses_... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_356.asm | ljhsiun2/medusa | 9 | 205300 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xb973, %r14
sub %rax, %rax
mov $0x6162636465666768, %rsi
movq %rsi, %xmm7
vmovups %ymm7, (%r14)
nop
nop
xor %r13, %r13
lea addresses_UC_ht+0x906d, %rsi
lea addresses_normal_h... |
oeis/173/A173781.asm | neoneye/loda-programs | 11 | 205301 | <reponame>neoneye/loda-programs<filename>oeis/173/A173781.asm
; A173781: a(n) is the smallest entry of the n-th column of the matrix of Super Catalan numbers S(m,n).
; Submitted by <NAME>
; 1,2,4,10,28,72,198,572,1560,4420,12920,36176,104006,305900,869400,2521260,7443720,21360240,62300700,184410072,532740208,1560167752... |
src/CORE16/cinit.asm | masscry/dmc | 86 | 205303 | <reponame>masscry/dmc
;_ cinit.asm Mon Dec 11 1989 Modified by: <NAME> */
; Windows support added by <NAME> Jan 1991 -D_WINDOWS
; Copyright (C) 1985-1991 by <NAME>
; All rights reserved.
; Written by <NAME>
; C initialization
include macros.asm
include flthead.asm
public __psp, __pgmptr... |
engine/battle/move_effects/water_spout.asm | AtmaBuster/pokeplat-gen2 | 6 | 205304 | BattleCommand_lifepower:
; lifepower
push bc
ld hl, wBattleMonHP
ldh a, [hBattleTurn]
and a
jr z, .ok
ld hl, wEnemyMonHP
.ok
xor a
ldh [hMultiplicand + 0], a
ld a, [hli]
ldh [hMultiplicand + 1], a
ld a, [hli]
ldh [hMultiplicand + 2], a
ld a, d
ldh [hMultiplier], a
call Multiply
ld a, [hli]
ld b, [hl]
... |
programs/oeis/136/A136185.asm | jmorken/loda | 1 | 205305 | <gh_stars>1-10
; A136185: Number of metacyclic groups of order p^n, prime p >= 3.
; 1,2,3,5,7,11,14,20,25,33,40,51,60,74,86,103,118,139,157,182,204,233,259,293,323,362,397,441,481,531,576,632,683,745,802,871,934,1010,1080,1163,1240,1331,1415,1514,1606,1713,1813,1929,2037,2162,2279,2413,2539,2683,2818,2972,3117,3281,343... |
libsrc/_DEVELOPMENT/alloc/obstack/c/sccz80/obstack_init.asm | jpoikela/z88dk | 640 | 205306 |
; void *obstack_init(struct obstack *ob, size_t size)
SECTION code_clib
SECTION code_alloc_obstack
PUBLIC obstack_init
EXTERN asm_obstack_init
obstack_init:
pop af
pop bc
pop de
push de
push bc
push af
jp asm_obstack_init
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _obstack_init
de... |
src/arkanoid.asm | jwse2/MijnOS | 0 | 205307 | <filename>src/arkanoid.asm
[BITS 16]
; [ORG 0x15E00]
jmp main
%include "src\const.inc"
%define BLOCK_COUNT 12 ; WARNING
%define BLOCK_WIDTH 80 ; DO NOT CHANGE
%define BLOCK_HEIGHT 24 ; THESE ARE HARDCODED
blck_state times BLOCK_COUNT db 1 ... |
oeis/147/A147595.asm | neoneye/loda-programs | 11 | 205308 | ; A147595: a(n) is the number whose binary representation is A138144(n).
; Submitted by <NAME>
; 1,3,7,15,27,51,99,195,387,771,1539,3075,6147,12291,24579,49155,98307,196611,393219,786435,1572867,3145731,6291459,12582915,25165827,50331651,100663299,201326595,402653187,805306371,1610612739,3221225475,6442450947,128849018... |
decompress_rle.asm | samcan/nes-rle-decompress | 0 | 205309 | <filename>decompress_rle.asm
;;;;;;;;;;;;;;;;
MACRO LoadRLEScreen x, nt
; Clobbers: A, X
LDA #<x
STA pointer+0
LDA #>x
STA pointer+1
LDX #nt
JSR DecodeRLEScreen
ENDM
;;;;;;;;;;;;;;;;
;; DecodeRLEScreen
;;
;; Decodes an RLE-compressed screen and loads it into the background.
;;
;;
;; Sample usage:
;;
;; ... |
asm/codes/normal/stop_xcam.asm | brikr/practice-rom-patcher | 2 | 205310 | <reponame>brikr/practice-rom-patcher<gh_stars>1-10
// X-Cam Timer
origin 0x0185E0
base 0x8025D5E0
j Xcam // 1302
origin 0x0185F4
base 0x8025D5F4
j Xcam // 1307
origin 0x018608
base 0x8025D608
j Xcam // 1303
|
data/tilesets/pokecom_center_collision.asm | Dev727/ancientplatinum | 28 | 205311 | tilecoll WALL, WALL, WALL, WALL ; 00
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01
tilecoll STAIRCASE, WALL, FLOOR, FLOOR ; 02
tilecoll WALL, WALL, FLOOR, FLOOR ; 03
tilecoll WALL, WALL, WALL, FLOOR ; 04
tilecoll WALL, WALL, WALL, WALL ; 05
tilecoll WALL, WALL, WALL, FLOOR ; 06
tilecoll WALL, WALL, FLOOR, PC ; 07
t... |
02_Getting_An_Image_One_The_Screen/02_Getting_An_Image_One_The_Screen.asm | DebugBSD/SDLExamples | 3 | 205312 | <reponame>DebugBSD/SDLExamples<filename>02_Getting_An_Image_One_The_Screen/02_Getting_An_Image_One_The_Screen.asm
; Windows
externdef ExitProcess:PROTO
; SDL
include SDL.inc
; Prototypes of my Program
Init PROTO
LoadMedia PROTO
Close PROTO
.CONST
SCREEN_WIDTH = 640
SCREEN_HEIGHT = 480
WINDOW_TITLE BYTE "SDL Tutori... |
source/personalities/personality_io.asm | paulscottrobson/mega65-integer-basic | 0 | 205313 | <filename>source/personalities/personality_io.asm
; ******************************************************************************
; ******************************************************************************
;
; Name: personality_io.asm
; Purpose: Personality Common I/O Routines
; Date: 22nd July 2019
; Aut... |
programs/oeis/111/A111097.asm | neoneye/loda | 22 | 205314 | <reponame>neoneye/loda
; A111097: Maximum likelihood estimate of the number of distinguishable marbles in an urn if repeated random sampling of one marble with replacement yields n different marbles before the first repeated marble.
; 1,2,5,8,13,19,25,33,42,51,62,74,86,100,115,130,147,165,183,203,224,245,268,292,316,34... |
insomni'hack-2015/shellcoding/tldr/shellcode.asm | anarcheuz/CTF | 2 | 205315 | <filename>insomni'hack-2015/shellcoding/tldr/shellcode.asm
BITS 64
global _start
section .text
_start:
jmp short _push_filename
_readfile:
pop rsi
;openat 2 (rdi, rsi, rdx,r10)
xor rax, rax
xor rdi, rdi
mov rdi, 0xFFFFFFFFFFFFFF9C
xor r10, r10
xor rdx, rdx
add ax, 257
syscall
;sendfile(out_fd, in_fd, off, cnt)
xor... |
test/link/extrn4/module2.asm | nigelperks/BasicAssembler | 0 | 205316 | IDEAL
ASSUME CS:IMAGE, DS:IMAGE, ES:IMAGE, SS:IMAGE
SEGMENT SEG1 PUBLIC
EXTRN _XBYTE: BYTE, _XWORD: WORD, _XCODE: PROC
ENDS
SEGMENT SEG2
; r/m8 displacement
mov dh, [_XBYTE]
mov dh, [SI+_XBYTE]
; r/m16 displacement
mov dx, [_XWORD]
mov dx, [SI+_XWORD]
; moffs8 displacement
mov al, [_XBYTE]
; moffs1... |
programs/oeis/023/A023105.asm | karttu/loda | 1 | 205317 | ; A023105: Number of distinct quadratic residues mod 2^n.
; 1,2,2,3,4,7,12,23,44,87,172,343,684,1367,2732,5463,10924,21847,43692,87383,174764,349527,699052,1398103,2796204,5592407,11184812,22369623,44739244,89478487,178956972,357913943,715827884,1431655767,2863311532,5726623063,11453246124,22906492247,45812984492,91625... |
oeis/337/A337046.asm | neoneye/loda-programs | 22 | 205318 | <filename>oeis/337/A337046.asm<gh_stars>10-100
; A337046: Integers n such that n! = x^2 + y^3 + z^6 where x, y and z are nonnegative integers, is soluble.
; 0,1,2,3,4,6,8,10,14,16,17,19,20,21,22,23,24,25
mov $4,$0
mov $6,$0
lpb $4
mov $0,$6
mov $1,0
mov $3,0
sub $4,1
sub $0,$4
lpb $0
mov $2,$0
seq ... |
P6/P6Judger - 100 testpoints/testpoint/testpoint67.asm | flyinglandlord/BUAA-CO-2021 | 5 | 205319 | <gh_stars>1-10
ori $1, $0, 13
ori $2, $0, 9
ori $3, $0, 5
ori $4, $0, 6
sw $4, 0($0)
sw $1, 4($0)
sw $3, 8($0)
sw $1, 12($0)
sw $1, 16($0)
sw $3, 20($0)
sw $1, 24($0)
sw $1, 28($0)
sw $2, 32($0)
sw $1, 36($0)
sw $3, 40($0)
sw $1, 44($0)
sw $2, 48($0)
sw $2, 52($0)
sw $4, 56($0)
sw $4, 60($0)
sw $1, 64($0)
sw $3, 68($0)... |
Practice/Read a string with gaps and print it.asm | WardunIslam/CSE331L_Section_7_Summer_2020_NSU | 0 | 205320 | <reponame>WardunIslam/CSE331L_Section_7_Summer_2020_NSU
.MODEL SMALL
.STACK 100H
.DATA
INPUT_MSG DB 'Enter the input: $'
OUTPUT_MSG DB 'The output is: $'
SYS DB '$'
STRING DB ?
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
LEA DX, INPUT_MSG
MOV AH, 09H
I... |
src/input/kb_subor.asm | freem/nesmon | 2 | 205321 | .ifndef KB_SUBOR
.error "Subor keyboard support requires KB_SUBOR to be defined"
.endif
.ifdef KB_FAMIBASIC
.error "Can't currently build with both Family BASIC and Subor keyboards"
.endif
;==============================================================================;
; nesmon/src/input/kb_subor.asm
; Subor Keyboa... |
Ficha 5 - Programacao mista C++ & Assembly/1b.asm | FEUP-MIEIC/MPCP | 0 | 205322 | ;; Funcao 2 em linguagem assembly
;; Valor de retorno: nenhum
.686
.model flat, C
.code
afunc2 PROC USES edi pixels: ptr byte, largura: sdword, altura:sdword
;; preencher com a funcionalidade pretendida
; R <- G | G <- B | B <- R
mov EAX, largura
mul altura
mov ECX, EAX ; ECX - numero de pixels
... |
Transynther/x86/_processed/NONE/_st_/i3-7100_9_0xca_notsx.log_1269_1930.asm | ljhsiun2/medusa | 9 | 205323 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xf0f3, %rsi
lea addresses_D_ht+0x6209, %rdi
nop
nop
nop
nop
and $19677, %r11
mov $97, %rcx
rep movsb
nop
nop
nop
nop
add %rsi, %rsi
lea addresses_D_ht+0xeb1a, %rsi
lea addresses... |
oeis/089/A089614.asm | neoneye/loda-programs | 11 | 205324 | ; A089614: Number of primes between n^2 and (n+1/4)^2.
; Submitted by <NAME>(w4)
; 0,1,0,1,0,1,0,1,1,2,0,1,1,2,2,2,1,1,1,2,2,2,0,2,1,2,2,2,1,2,2,3,4,2,3,4,2,4,2,5,3,2,2,2,3,3,2,2,3,2,3,5,2,3,3,2,5,4,2,4,3,4,1,3,5,3,5,6,4,5,2,3,3,6,7,6,2,5,6,2,6,4,4,3,5,3,7,3,6,4,6,2,6,6,6,5,7,7,6,4
add $0,1
mov $3,$0
mov $5,$0
pow $5,... |
computer-architecture/labs/other-second.asm | vampy/university | 6 | 205325 | ; A string of size N words is given.
; Print in base 16 the quotient and the remainder without sign, A / B,
; where A is the maximum value of the inferior bytes of the string of words
; and B is the minimum value of the superior bytes of the string
; Eg:
; sir_cuv DW 21520, -6, "xy", 0f5b2h, -129
; A = 194 and B = 10
;... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_90.asm | ljhsiun2/medusa | 9 | 205326 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rdi
push %rdx
lea addresses_normal_ht+0xe8a5, %r14
sub $41469, %r8
mov (%r14), %dx
nop
nop
nop
nop
nop
and $15692, %rdi
pop %rdx
pop %rdi
pop %r8
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push... |
manual_final.asm | ChamezopoulosSavvas/DC-Motor-Control-Open-Loop-System | 0 | 205327 | .include "m16def.inc"
; Program Description:
; This program measures the motor rpm and input voltage
; while driving it using Phase Correct PWM
; The increments on the duty cycle are done MANUALLY
; by pressing the SW0 button to increase the duty cycle
; from 20% (starting value) up to 70% (final value)
; an... |
zos/old/boot.asm | zzh8829/OSPP | 0 | 205328 | [bits 16]
[org 0x7c00]
KERNEL_OFFSET equ 0x9c00
jmp main16
main16:
xor ax, ax
mov ds, ax
mov ss, ax
mov es, ax
mov bp, 0x9c00 ; set stack position
mov sp, bp
mov [BOOT_DRIVE], dl
mov si, MSG_WELCOME
call printString16
call printEndl
mov si, MSG_LOADKERNEL
call printString16
... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_4_1033.asm | ljhsiun2/medusa | 9 | 205329 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r15
push %rbp
push %rbx
// Faulty Load
lea addresses_normal+0x1c877, %r14
nop
nop
nop
nop
nop
cmp %r15, %r15
vmovntdqa (%r14), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $1, %xmm2, %r10
lea o... |
unittests/ASM/H0F38/adcx.asm | cobalt2727/FEX | 0 | 205330 | <filename>unittests/ASM/H0F38/adcx.asm
%ifdef CONFIG
{
"RegData": {
"RAX": "2",
"RBX": "3",
"RCX": "1",
"RDX": "2",
"RSI": "1",
"RDI": "3"
}
}
%endif
; Test with no carry
mov rax, 1
clc
adcx rax, rax
; Test with carry
mov rcx, 1
mov rbx, 1
stc
adcx rbx, rcx
; 32-bit registers
... |
Assembly/Alphabetical_Sort.asm | rlong2/Code | 0 | 205331 | <filename>Assembly/Alphabetical_Sort.asm<gh_stars>0
# This program sorts a list of provided strings alphabetically
.data
String1:
.asciiz "George\n"
String2:
.asciiz "Zachary\n"
String3:
.asciiz "Roberta\n"
String4:
.asciiz "Robert\n"
String5:
.asciiz "Amy\n"
nEntries:
.word 5
NameTable:
.space 20
cr:
.asciiz "\n"
Not... |
data/maps/objects/CeladonMart1F.asm | opiter09/ASM-Machina | 1 | 205332 | CeladonMart1F_Object:
db $f ; border block
def_warps
warp 2, 7, 0, LAST_MAP
warp 3, 7, 0, LAST_MAP
warp 16, 7, 1, LAST_MAP
warp 17, 7, 1, LAST_MAP
warp 12, 1, 0, CELADON_MART_2F
warp 1, 1, 0, CELADON_MART_ELEVATOR
def_signs
sign 11, 4, 2 ; CeladonMart1Text2
sign 14, 1, 3 ; CeladonMart1Text3
de... |
programs/oeis/227/A227259.asm | neoneye/loda | 22 | 205333 | <reponame>neoneye/loda<filename>programs/oeis/227/A227259.asm
; A227259: Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having a sum of two or less, with rows and columns of the latter in lexicographically nondecreasing order.
; 3,9,23,50,96,168,274,423,625,891,1233,1664,219... |
libsrc/rs232/cpc/sti/rs232_init.asm | meesokim/z88dk | 0 | 205334 | <filename>libsrc/rs232/cpc/sti/rs232_init.asm
;
; z88dk RS232 Function
;
; Amstrad CPC (STI) version
;
; unsigned char rs232_init()
;
; $Id: rs232_init.asm,v 1.3 2015/01/19 01:33:07 pauloscustodio Exp $
PUBLIC rs232_init
rs232_init:
ld hl,0 ;R... |
two.asm | FauxFaux/nanorc4 | 12 | 205336 | <gh_stars>10-100
%define psp 0 ; psp is at address 0
; static uint8_t key_len;
%define key_len (psp+80h) ; 80h: command line length
; static uint8_t *key;
%define key (psp+81h+1) ; 81h: command line string, with a leading space
; static uint8_t state[256];
%de... |
45/beef/drv/csd/src/biossafe.asm | minblock/msdos | 0 | 205337 | <reponame>minblock/msdos<filename>45/beef/drv/csd/src/biossafe.asm
;*
;* CW : Character Windows Drivers
;*
;* biossafe.asm : BIOS safe CSD
;*
;* ## This version is built for MP only
;*****************************************************************************
include csd_head.inc
include csd_data.inc
;*********... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1199.asm | ljhsiun2/medusa | 9 | 205338 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r15
push %r8
push %rcx
// Faulty Load
lea addresses_normal+0x392a, %r13
clflush (%r13)
cmp $1173, %r15
movups (%r13), %xmm3
vpextrq $1, %xmm3, %r8
lea oracles, %r15
and $0xff, %r8
shlq $1... |
asm_examples/swap.asm | Lukas0025/MIS8 | 0 | 205339 | <gh_stars>0
# Example ASM code
# swap R0 content with R1 content (XCHG)
# using 3 registers
mov A, C
mov B, A
mov C, B
# using xor
xorto A
xorto B
xorto A
|
programs/oeis/187/A187297.asm | neoneye/loda | 22 | 205341 | ; A187297: Number of 2-step one space leftwards or up, two space rightwards or down asymmetric rook's tours on an n X n board summed over all starting positions
; 0,4,18,40,70,108,154,208,270,340,418,504,598,700,810,928,1054,1188,1330,1480,1638,1804,1978,2160,2350,2548,2754,2968,3190,3420,3658,3904,4158,4420,4690,4968,... |
programs/oeis/184/A184480.asm | neoneye/loda | 22 | 205342 | <gh_stars>10-100
; A184480: Lower s-Wythoff sequence, where s(n)=3n. Complement of A001956.
; 1,2,3,5,6,7,9,10,11,13,14,15,16,18,19,20,22,23,24,26,27,28,29,31,32,33,35,36,37,39,40,41,42,44,45,46,48,49,50,52,53,54,56,57,58,59,61,62,63,65,66,67,69,70,71,72,74,75,76,78,79,80,82,83,84,85,87,88,89,91,92,93,95,96,97,99,100,... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_48_123.asm | ljhsiun2/medusa | 9 | 205343 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x126fe, %rbp
nop
add $30973, %rax
mov $0x6162636465666768, %r12
movq %r12, (%rbp)
nop
nop
nop
nop
sub $13696, %r14
lea addresses_UC_ht+0x142be, %rbx
nop
nop
nop
nop... |
raid/Setup/list/other.asm | OS2World/DRV-VRAID | 0 | 205344 | <reponame>OS2World/DRV-VRAID
title other.cpp
.386
.387
includelib CPPOM30.LIB
includelib OS2386.LIB
CODE32 segment dword use32 public 'CODE'
CODE32 ends
DATA32 segment dword use32 public 'DATA'
DATA32 ends
CONST32_RO segment dword use32 public 'CONST'
CONST32_RO ends
BSS32 segment dword use32 public 'BSS'
BSS32 en... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1582_1556.asm | ljhsiun2/medusa | 9 | 205346 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xf5c8, %rsi
lea addresses_UC_ht+0x191c8, %rdi
sub $26711, %r14
mov $9, %rcx
rep movsl
nop
sub %r12, %r12
lea addresses_D_ht+0x3c8, %rsi
lea addresses_A_ht+0x52c8, %rdi
clflush ... |
Driver/Socket/EtherODI/ethodiProtocol.asm | steakknife/pcgeos | 504 | 205347 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Tedious Endeavors 1998 -- All Rights Reserved
PROJECT: Native ethernet support
MODULE: Ethernet ODI link driver
FILE: ethodiProtocol.asm
AUTHOR: <NAME>, Jul 30th, 1998
ROUTINES:
REVISION HISTORY:
DESCRIP... |
Transynther/x86/_processed/AVXALIGN/_st_4k_/i7-7700_9_0xca.log_13_445.asm | ljhsiun2/medusa | 9 | 205348 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xaa10, %rsi
lea addresses_A_ht+0x8410, %rdi
clflush (%rdi)
nop
nop
nop
nop
mfence
mov $94, %rcx
rep movsq
nop
nop
nop
nop
add %r14, %r14
lea addresses_D_ht+0x2810, %rdx
inc %rax
and $0... |
picclk.X/main.asm | av500/sdiy-picclk | 0 | 205349 | #include <p16f628a.inc>
__CONFIG _CP_OFF & _CPD_OFF & _LVP_OFF & _BOREN_ON & _MCLRE_OFF & _WDTE_OFF & _PWRTE_ON & _FOSC_INTOSCIO
#define CLK PORTB,RB0
#define RST PORTB,RB1
#define Q0 PORTA,RA0
#define Q1 PORTA,RA1
#define Q2 PORTA,RA2
#define Q3 PORTA,RA3
#define Q4 PORTB,RB4
#define Q5 PORTB,RB5
#define Q6 PORTA,... |
newitems/macros/var.asm | fcard/z3randomizer | 0 | 205350 | <reponame>fcard/z3randomizer<filename>newitems/macros/var.asm
!Var_InitialAddress = $7FFF00
!Var_Address #= !Var_InitialAddress
!Var_SRAMInitialAddress = $7F6600
!Var_SRAMAddress #= !Var_SRAMInitialAddress
!Var_SettingInitialAddress = $308500
!Var_SettingAddress #= !Var_SettingInitialAddress
macro NewVar(var)
!<... |
sw/552tests/inst_tests/sll_0.asm | JPShen-UWM/ThreadKraken | 1 | 205351 | // Original test: ./chen-han/hw4/problem6/sll_0.asm
// Author: chen-han
// Test source code follows
//test all zeros
lbi r1, 0
lbi r2, 0
sll r3, r1, r2
halt
|
oeis/347/A347302.asm | neoneye/loda-programs | 11 | 205352 | <filename>oeis/347/A347302.asm
; A347302: a(n) = 3^n - lcm{1..n}, with a(0) = 0.
; Submitted by <NAME>
; 0,2,7,21,69,183,669,1767,5721,17163,56529,149427,503721,1233963,4422609,13988547,42326001,116887923,375168249,929468907,3253991841,10227560643,31148267049,88788949947,277075307601,820517465043,2515094683929,75452840... |
mango-library/src/asm/syscall-x64.asm | fengjixuchui/mango-library | 31 | 205353 | <filename>mango-library/src/asm/syscall-x64.asm
.code
_syscall proc
mov r10, rcx ; store rcx in r10 register
mov eax, [rsp + 20h + 8] ; store the syscall index in eax
pop r11 ; pop the return address into r11
mov [rsp], r11 ; overwrite the
syscall
jmp qword ptr [rsp]
_syscall endp
end |
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/getline.asm | meesokim/z88dk | 0 | 205355 | <gh_stars>0
; size_t getline(char **lineptr, size_t *n, FILE *stream)
INCLUDE "clib_cfg.asm"
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _getline
EXTERN l0_getline_callee
_getline:
pop af
pop hl
pop de
pop bc
push af
... |
src/firmware/Ui/SettingsOpenCloseOffsetsStates.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 205356 | #include "Platform.inc"
#include "FarCalls.inc"
#include "Flash.inc"
#include "Lcd.inc"
#include "States.inc"
#include "WaitButtonPressState.inc"
radix decimal
defineUiState UI_STATE_SETTINGS_OPENCLOSEOFFSETS
fcall isLcdIdle
xorlw 0
btfsc STATUS, Z
returnFromUiState
loadFlashAddressOf screen
fcal... |
programs/oeis/279/A279895.asm | karttu/loda | 1 | 205358 | <gh_stars>1-10
; A279895: a(n) = n*(5*n + 11)/2.
; 0,8,21,39,62,90,123,161,204,252,305,363,426,494,567,645,728,816,909,1007,1110,1218,1331,1449,1572,1700,1833,1971,2114,2262,2415,2573,2736,2904,3077,3255,3438,3626,3819,4017,4220,4428,4641,4859,5082,5310,5543,5781,6024,6272,6525,6783,7046,7314,7587,7865,8148,8436,8729,9... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_1027.asm | ljhsiun2/medusa | 9 | 205359 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1c8f9, %rbp
nop
xor $47344, %r8
mov $0x6162636465666768, %rbx
movq %rbx, (%rbp)
nop
nop
nop
nop
dec %rdx
lea addresses_WT_ht+0x165f9, %rsi
lea addresses_normal_ht+0x13cf9, %r... |
tests/macro_examples/sj_sysvars.i.asm | fengjixuchui/sjasmplus | 220 | 205360 | <filename>tests/macro_examples/sj_sysvars.i.asm
; zx48 system variables
STRUCT ZX48_VARS
KSTATE BLOCK 8
LAST_K BYTE
REPDEL BYTE
REPPER BYTE
DEFADD WORD
K_DATA BYTE
TVDATA WORD
STRMS BLOCK 38
CHARS WORD
RASP BYTE
PIP BYTE
ERRNR BYTE
FLAGS ... |
programs/oeis/033/A033156.asm | neoneye/loda | 22 | 205361 | ; A033156: a(1) = 1; for m >= 2, a(n) = a(n-1) + floor(a(n-1)/(n-1)) + 2.
; 1,4,8,12,17,22,27,32,38,44,50,56,62,68,74,80,87,94,101,108,115,122,129,136,143,150,157,164,171,178,185,192,200,208,216,224,232,240,248,256,264,272,280,288,296,304,312,320,328,336,344,352,360,368,376,384,392,400,408,416,424,432,440,448,457,466,4... |
oeis/021/A021255.asm | neoneye/loda-programs | 11 | 205362 | <reponame>neoneye/loda-programs
; A021255: Decimal expansion of 1/251.
; Submitted by <NAME>(s1)
; 0,0,3,9,8,4,0,6,3,7,4,5,0,1,9,9,2,0,3,1,8,7,2,5,0,9,9,6,0,1,5,9,3,6,2,5,4,9,8,0,0,7,9,6,8,1,2,7,4,9,0,0,3,9,8,4,0,6,3,7,4,5,0,1,9,9,2,0,3,1,8,7,2,5,0,9,9,6,0,1,5,9,3,6,2,5,4,9,8,0,0,7,9,6,8,1,2,7,4
seq $0,199685 ; a(n) =... |
forktest.asm | TRamirez97/CSE460-HW02 | 0 | 205363 |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "fork test OK\n");
}
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
forktest();
6: e8 35 00 00 00 c... |
date.asm | spencer-hann/xv6-pdx | 1 | 205364 |
_date: file format elf32-i386
Disassembly of section .text:
00000000 <dayofweek>:
static char *days[] = {"Sun", "Mon", "Tue", "Wed",
"Thu", "Fri", "Sat"};
int
dayofweek(int y, int m, int d)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 53 push... |
source/command/graphics/dpat.asm | mega65dev/rom-assembler | 0 | 205365 | ; ********************************************************************************************
; ********************************************************************************************
;
; Name : dpat.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : <NAME>
;
; ********... |
test/roms/blargg_ppu_tests/source/sprite_ram.asm | yizhang82/newschan | 1,461 | 205366 | <gh_stars>1000+
; Tests sprite RAM access via $2003, $2004, and $4014
.include "prefix_ppu.a"
sprites = $200
reset:
lda #50
jsr delay_msec
jsr wait_vbl
lda #0
sta $2000
sta $2001
lda #2;) Basic read/write doesn't work
sta result
... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_1023.asm | ljhsiun2/medusa | 9 | 205368 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %rbx
push %rcx
lea addresses_UC_ht+0x15a4, %rcx
clflush (%rcx)
nop
nop
nop
add %r12, %r12
movb $0x61, (%rcx)
nop
nop
sub %r8, %r8
lea addresses_normal_ht+0x17de4, %rbx
nop
cmp $57512, %r10
mov $0x6162636465666768, %r... |
demo/music/calltest.asm | stoneface86/tbengine | 6 | 205369 |
INCLUDE "tbengine.inc"
SECTION "song_calltest", ROM0
song_calltest::
DB $18 ; speed (3.0 frames per row, 900 BPM)
DW .ch1_main
DW .ch2_main
DW .ch3_main
DW .ch4_main
.ch1_main:
duration 1
timbre1
loopBegin
note C_5
note D#5
note G#5
note ... |
src/firmware/Platform/Lcd/EnableSetDisplayState.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 205370 | <gh_stars>1-10
#include "Platform.inc"
#include "FarCalls.inc"
#include "Lcd.inc"
#include "States.inc"
LCD_CMD_SETDISPLAY_MASK equ LCD_CMD_SETDISPLAY | LCD_CMD_SETDISPLAY_TWOLINES | LCD_CMD_SETDISPLAY_5X8
radix decimal
defineLcdState LCD_STATE_ENABLE_SETDISPLAY
movlw LCD_CMD_SETDISPLAY_MASK
call writeRegi... |
programs/oeis/329/A329975.asm | karttu/loda | 1 | 205371 | ; A329975: Beatty sequence for 1 + x + x^2, where x is the real solution of 1/x + 1/(1+x+x^2) = 1.
; 4,8,12,16,20,24,28,32,36,40,44,48,53,57,61,65,69,73,77,81,85,89,93,97,101,106,110,114,118,122,126,130,134,138,142,146,150,155,159,163,167,171,175,179,183,187,191,195,199,203,208,212,216,220,224,228,232
mov $1,$0
mul $1... |
programs/oeis/326/A326725.asm | karttu/loda | 1 | 205372 | ; A326725: a(n) = (1/2)*n*(5*n - 7); row 5 of A326728.
; 0,-1,3,12,26,45,69,98,132,171,215,264,318,377,441,510,584,663,747,836,930,1029,1133,1242,1356,1475,1599,1728,1862,2001,2145,2294,2448,2607,2771,2940,3114,3293,3477,3666,3860,4059,4263,4472,4686,4905,5129,5358,5592,5831,6075,6324,6578,6837,7101,7370,7644,7923,8207... |
oeis/142/A142140.asm | neoneye/loda-programs | 11 | 205373 | ; A142140: Primes congruent to 31 mod 37.
; Submitted by <NAME>
; 31,179,401,919,1289,1511,1733,2029,2251,2399,2473,2621,2843,2917,3361,3583,4027,4397,5507,5581,6173,6247,6469,6691,7283,7727,7949,8171,8467,8689,8837,9059,9133,9281,10169,10243,10391,10613,10687,10909,11057,11131,11279,11353,12241,12611,12907,13499,13721... |
programs/oeis/014/A014683.asm | karttu/loda | 1 | 205374 | ; A014683: In the sequence of positive integers add 1 to each prime number.
; 1,3,4,4,6,6,8,8,9,10,12,12,14,14,15,16,18,18,20,20,21,22,24,24,25,26,27,28,30,30,32,32,33,34,35,36,38,38,39,40,42,42,44,44,45,46,48,48,49,50,51,52,54,54,55,56,57,58,60,60,62,62,63,64,65,66,68,68,69,70,72,72,74,74,75,76,77,78,80,80,81,82,84,84... |
programs/oeis/014/A014928.asm | neoneye/loda | 22 | 205375 | <reponame>neoneye/loda
; A014928: a(1)=1, a(n)=n*13^(n-1)+a(n-1).
; 1,27,534,9322,152127,2379885,36167548,538155684,7879732173,113924725903,1630368136242,23136292864686,326011399456939,4566262891748481,63626908677237816,882601196902689928,12194683553016747225,167902170101880830019,2304554902189071299470,315429607096979... |
main.asm | CelloCodez/DCPU-OS | 0 | 205376 | <filename>main.asm
; jump to the main os boot
SET PC, os_boot
msg_os_boot:
.dat "Booting...", 0
color_white:
.dat 0xF100
; main os boot
os_boot:
; find hardware
JSR hw_find
; map video ram
SET A, 0
SET B, 0x8000
HWI [hw_lem1802]
; set the border color
SET A, 3
SET B, 1
HWI [hw_lem1802]
; output the boot mess... |
src/util/oli/app/arinf.asm | olifink/qspread | 0 | 205377 | <gh_stars>0
; get 2 dim array information
section utility
include win1_mac_oli
xdef ut_arinf
;+++
; get 2 dim array information
;
; Entry Exit
; d1.l array type (0=abs,1=rel) nr. of elements
; d2.w ... |
swapFunction.asm | FredHappyface/Nasm.LearningAsm | 2 | 205379 |
;FredHappyface 2020
;
;Tell the assembler to use altreg so I can use r0 through r7 (this is personal preference)
;make _start public/ global (this is pretty much the equivalent of main in java or go)
%use altreg
global _start
;Program text here, ie. the bits to execute
section .text
_start:
mov r1, 1
mov r2, 2
... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_270_1892.asm | ljhsiun2/medusa | 9 | 205382 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x9125, %rsi
lea addresses_WT_ht+0x6845, %rdi
nop
nop
nop
add $49054, %r9
mov $16, %rcx
rep movsw
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_WC_ht+0x1553d, %rsi
lea addr... |
euler.asm | guynan/asmpe | 0 | 205383 | <reponame>guynan/asmpe<gh_stars>0
global asm_prime
section .text
; We pass in one parameter of size 64 bits
; eax is our return value.
; edi is our input value
; ebx is our counter
; ecx stores the result of the counter squared
; edx is where the remainder is stored
asm_prime:
xor eax... |
src/harvesters_guardcommand.asm | mvdhout1992/ts-patches | 33 | 205384 | ; Allow Setting Harvesters to Area Guard Mission using Guard Keyboard Command
; Ordinary harvesters are unarmed and thus are not considered when executing
; the Guard Command. This hack adds exceptions for Harvester=yes and Weeder=yes.
; Author: AlexB
; Date: 2016-11-23
%include "macros/patch.inc"
%include "macros/h... |
programs/oeis/288/A288730.asm | karttu/loda | 0 | 205385 | ; A288730: Positions of 0 in A288729; complement of A288731.
; 1,2,5,8,9,10,11,12,15,18,21,24,25,26,27,28,31,34,35,36,37,38,41,44,47,50,53,56,57,58,59,60,63,66,67,68,69,70,73,76,79,82,83,84,85,86,89,92,93,94,95,96,99,102,105,108,111,114,117,120,121,122,123,124,127,130,131,132,133,134,137,140,143,146,147,148,149,150,153... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_322.asm | ljhsiun2/medusa | 9 | 205386 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x16d54, %rsi
lea addresses_WC_ht+0x5a54, %rdi
nop
nop
nop
nop
nop
and %r14, %r14
mov $72, %rcx
rep movsw
nop
nop
nop
dec %r8
lea addresses_WT_ht+0x194c, %r15
nop
and $61989, %r... |
programs/oeis/277/A277592.asm | neoneye/loda | 22 | 205387 | <reponame>neoneye/loda
; A277592: Numbers k such that k/10^m == 5 mod 10, where 10^m is the greatest power of 10 that divides n.
; 5,15,25,35,45,50,55,65,75,85,95,105,115,125,135,145,150,155,165,175,185,195,205,215,225,235,245,250,255,265,275,285,295,305,315,325,335,345,350,355,365,375,385,395,405,415,425,435,445,450,4... |
oeis/040/A040249.asm | neoneye/loda-programs | 11 | 205388 | <reponame>neoneye/loda-programs
; A040249: Continued fraction for sqrt(266).
; Submitted by <NAME>
; 16,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3,32,3,4,3
mov $1,4
mov $2,$0
gcd $2,4
p... |
palettes.asm | alexsteb/tetris_disassembly | 20 | 205389 | PALETTE_1 EQU %11100100 ;00 = white, 01 = light grey, 10 = dark grey, 11 = black (read RTL)
PALETTE_2 EQU %11000100 ;white, light grey, white, black
|
programs/oeis/294/A294390.asm | karttu/loda | 0 | 205390 | <reponame>karttu/loda
; A294390: a(n) = 2^(n-4) mod n, for n >= 4.
; 1,2,4,1,0,5,4,7,4,5,2,8,0,15,4,12,16,11,14,3,16,2,10,5,8,11,4,4,0,17,30,23,4,14,24,20,16,36,4,27,12,32,6,6,16,8,14,26,40,20,22,13,16,29,22,37,16,23,8,32,0,2,4,42,52,35,64,9,40,64,28,23,20,30,4,10,16,5,72,52,4,2,54,44,16,78,4,8,24,47,12,78,64,85,44,32,... |
kernel.asm | jieun-cloud/xv6-file | 1 | 205391 |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 0f in $0xf,%al
8010000c <entry>:... |
oeis/335/A335873.asm | neoneye/loda-programs | 11 | 205392 | <filename>oeis/335/A335873.asm
; A335873: Total number of points in all permutations of [n] that are fixed or reflected.
; Submitted by <NAME>
; 0,1,4,10,48,216,1440,9360,80640,685440,7257600,76204800,958003200,11975040000,174356582400,2528170444800,41845579776000,690452066304000,12804747411456000,236887827111936000,48... |
workbench/cputest/test.asm | thecrazyboy/vector06cc | 21 | 205393 | <reponame>thecrazyboy/vector06cc
;***********************************************************************
; MICROCOSM ASSOCIATES 8080/8085 CPU DIAGNOSTIC VERSION 1.0 (C) 1980
;***********************************************************************
; Load into virtual altair with: ALTAIR L=TEST.HEX
; Then press F2... |
textCommands.asm | RevolutionSoftware/Juego | 1 | 205394 | specialChar:
cp $F0 ;si bit 7 está armado pero no es un código especial, significa que es una opción de menú
jr nc,skipMenu
call setUpMenu
ld a,(hl)
res 7,a
jp textoBucle
skipMenu:
ld bc,textoBucle-1 ;(para incluir el ld a,(hl))
push bc ;donde volver
ex de,hl ;guardar hl
ld c,a
ld b,$FF ;sign ... |
programs/oeis/033/A033121.asm | neoneye/loda | 22 | 205395 | <reponame>neoneye/loda
; A033121: Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,1.
; 1,3,10,31,93,280,841,2523,7570,22711,68133,204400,613201,1839603,5518810,16556431,49669293,149007880,447023641,1341070923,4023212770,12069638311,36208914933,108626744800,325880234401,97... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1896.asm | ljhsiun2/medusa | 9 | 205396 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1896.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x3f6e, %r14
nop
xor %rdi, %rdi
movb $0x61, (%r14)
nop
nop
nop
nop
nop
xor $30192, %... |
boot/stage1/vesa.asm | nelsoncole/sirius-x86-64 | 10 | 205397 | <reponame>nelsoncole/sirius-x86-64
str_vesa_error: db "VESA VBE ERROR",10,13,0
vesa_var0: dw 0
vesa_var1: db 32 ; BPB de pelomenos 32-bit
vesa_var2: dw 800 ;1024 ; X Resolution de Pelomenos => 1024
vesa_var3: dw 0x118 ; Especil mode
vesa_vbe_mode:
; Info da chip VBE
call .vbe_infos
cmp ax,0x00... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_338.asm | ljhsiun2/medusa | 9 | 205398 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1cc69, %rsi
lea addresses_UC_ht+0x1922f, %rdi
nop
xor $48570, %r11
mov $0, %rcx
rep movsl
sub $60102, %rbp
lea addresses_A_ht+0x12861, %rsi
lea addresses_D_ht+0x1d2d9, %rdi
... |
lib/chibiakumas/SrcALL/Multiplatform_BitmapFonts.asm | gilbertfrancois/msx | 0 | 205399 | ; Learn Multi platform Z80 Assembly Programming... With Vampires!
;Please see my website at www.chibiakumas.com/z80/
;for the 'textbook', useful resources and video tutorials
;File Multiplatform Bitmap Fonts
;Version V1.0
;Date 2018/6/13
;Content Simulates firmware font functions using a 2 bit Bitmap font o... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_133.asm | ljhsiun2/medusa | 9 | 205400 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rbx
push %rcx
push %rdx
push %rsi
lea addresses_A_ht+0xfc97, %rcx
nop
sub $14413, %rsi
mov (%rcx), %r13d
nop
nop
nop
nop
xor $48825, %rcx
lea addresses_WC_ht+0xdb95, %rdx
clflush (%rdx)
nop
nop
nop
nop
nop
sub $20003, %rbx
... |
MSDOS/Virus.MSDOS.Unknown.int10.asm | fengjixuchui/Family | 3 | 205401 | <gh_stars>1-10
DOSCALL SEGMENT 'CODE'
ASSUME CS:DOSCALL,DS:DOSCALL
;
;Procedure DOSVIO(VAR: AX, BX, CX, DX: Word);
;
; Issue a DOS VIDEO I/O INT (10) with register values set by caller
;
; FRAME: ADR AX; 12
; ADR BX; 10
; ADR CX; 08
; ADR DX; 06
; <RET BP>... |
ffight/lcs/1p/4.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 205402 | copyright zengfr site:http://github.com/zengfr/romhack
00411C clr.w ($4,A6)
004120 moveq #$0, D0
009CE8 move.l #$a000000, ($2,A6)
009CF0 move.w ($18,A6), ($1a,A6) [1p+ 2, 1p+ 4]
00A114 clr.l ($2,A4) [1p+8E]
00A118 rts
00A2C6 dbra D0, $a2c0
00A3FA bsr $a2cc [1p+ 2, 1p+ 4]
00A558 move.l #$20... |
test_roms/test2.asm | zmarvel/slowboy | 2 | 205405 | <reponame>zmarvel/slowboy<filename>test_roms/test2.asm
;;
;; Test 1
;;
;; Test foreground display.
;;
define(LCDC, $ff40)
define(STAT, $ff41)
define(SCY, $ff42)
define(SCX, $ff43)
define(LY, $ff44)
define(LYC, $ff45)
define(BGP, $ff47)
define(OBP0, $ff48)
define(OBP1, $ff49)
define(WY... |
verify/output/numbers_up.alfy.asm | alexandruradovici/alf-alfy-asm-public | 0 | 205406 | start:
set r2 1
set r3 6
set r4 1
set r5 0
mov r6 r2
store r5 r6
for_0:
test r6 r3
jg endfor_0
set r7 0
load r7 r7
writenumber r7
add r6 r6 r4
store r5 r6
jmp for_0
endfor_0:
stop
|
sw/552tests/rand_simple/t_2_lbi.asm | JPShen-UWM/ThreadKraken | 1 | 205407 | // seed 2
lbi r0, 217 // icount 0
slbi r0, 53 // icount 1
lbi r1, 16 // icount 2
slbi r1, 137 // icount 3
lbi r2, 72 // icount 4
slbi r2, 14 // icount 5
lbi r3, 48 // icount 6
slbi r3, 25 // icount 7
lbi r4, 131 // icount 8
slbi r4, 245 // icount 9
lbi r5, 32 // icount 10
slbi r5, 217 // icount 11
lbi r6, 214 // icount... |
samples/03_8051/original/asm/interrupt_test.asm | kubasz/verinject | 0 | 205408 | ;
; bank 0 - counters
; bank 1 - expected values
;
; @7f error code
;
ajmp start;
.org 03h ;external interrupt 0
ajmp ei0 ;
.org 0bh ;t/c 0 interrupt
ajmp tc0 ;
.org 13h ;external interrupt 1
ajmp ei1 ;
.org 1bh ;t/c 1 interrupt
ajmp tc1 ;
.org 23h ;serial interface interrupt
setb b.4 ;
clr scon.0 ... |
oeis/118/A118255.asm | neoneye/loda-programs | 11 | 205409 | ; A118255: a(1)=1, then a(n)=2*a(n-1) if n is prime, a(n)=2*a(n-1)+1 if n not prime.
; Submitted by <NAME>
; 1,2,4,9,18,37,74,149,299,599,1198,2397,4794,9589,19179,38359,76718,153437,306874,613749,1227499,2454999,4909998,9819997,19639995,39279991,78559983,157119967,314239934,628479869,1256959738,2513919477,5027838955,1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.