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 |
|---|---|---|---|---|
book-01/Assembly/asm/avx-2/packed/avx2_p_permute_float.asm | gfurtadoalmeida/study-assembly-x64 | 2 | 209581 | .code
; void AVX2_Packed_Permute_Float_(YmmVal * src, YmmVal * des, YmmVal * indexes)
AVX2_Packed_Permute_Float_ proc
vmovaps ymm0, ymmword ptr [rcx] ; src
vmovdqa ymm1, ymmword ptr [r8] ; indexes
; Rearrange the items in src according to the indexes control.
; The register is divided in half and each half has a ind... |
Lista 3/mips9.asm | AtilaAssuncao/MIPS-AP2 | 0 | 209582 | <reponame>AtilaAssuncao/MIPS-AP2<gh_stars>0
.data
message: .asciiz "Fim da Execução"
space: .asciiz ", "
.text
main:
addi $t7,$zero,0
li $v0, 5 # chama função para ler
syscall
la $t7, ($v0) # carrega o inteiro lido em $t7
loop:
bgt $t7,9,exit
addi $t7,$t7,2
jal n... |
programs/oeis/205/A205988.asm | karttu/loda | 0 | 209585 | ; A205988: Expansion of f(x^1, x^9) in powers of x where f(, ) is Ramanujan's general theta function.
; 1,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,... |
oeis/227/A227804.asm | loda-lang/loda-programs | 11 | 209586 | <reponame>loda-lang/loda-programs
; A227804: a(1) = greatest k such that H(k) - H(8) < H(8) - H(4); a(2) = greatest k such that H(k) - H(a(1)) < H(a(1)) - H(8), and for n > 2, a(n) = greatest k such that H(k) - H(a(n-1) > H(a(n-1)) - H(a(n-2)), where H = harmonic number.
; Submitted by <NAME>
; 15,27,48,85,150,264,464,... |
eurasia/services4/srvclient/devices/sgx/transferqueue_use.asm | shaqfu786/GFX_Linux_DDK | 3 | 209587 | <reponame>shaqfu786/GFX_Linux_DDK
/*****************************************************************************
Name : transferqueue_use.asm
Title : USE programs for TQ
Author : PowerVR
Created : 03/19/2008
Copyright : 2008-2010 by Imagination Technologies Limited. All rights reserved.
No part of th... |
libsrc/graphics/gray/g_draw.asm | grancier/z180 | 0 | 209588 | <filename>libsrc/graphics/gray/g_draw.asm
;
; TI Gray Library Functions
;
; Written by <NAME> - Mar 2001
;
;
; $Id: g_draw.asm,v 1.6 2017/01/02 22:57:58 aralbrec Exp $
;
;Usage: g_draw(int x1, int y1, int x2, int y2, int GrayLevel)
PUBLIC g_draw
PUBLIC _g_draw
... |
sinegen.asm | PsiPhiTheta/Digital-Signal-Processing | 0 | 209589 | <gh_stars>0
//Author: <NAME> & PsiPhiTheta
.section L1_data_a; // Linker places 6 kHz LUT starting at 0x11800000
// **** INSERT CODE HERE ****
.BYTE4/r32 sin6[]=0.0r,0.7071068r,1.0r,0.7071068r,0.0r,-0.7071068r,-1.0r,-0.7071068r; // [INSERTED] Sets the 8 values required (since sampling frequency is 48kHz, 48/8=6... |
scripts/route16gateupstairs.asm | adhi-thirumala/EvoYellow | 16 | 209590 | <filename>scripts/route16gateupstairs.asm<gh_stars>10-100
Route16GateUpstairsScript:
jp DisableAutoTextBoxDrawing
Route16GateUpstairsTextPointers:
dw Route16GateUpstairsText1
dw Route16GateUpstairsText2
dw Route16GateUpstairsText3
dw Route16GateUpstairsText4
Route16GateUpstairsText1:
TX_ASM
ld hl, Route16GateU... |
chrissalo/hello1.asm | mikepea/vectrex-playground | 5 | 209592 | <gh_stars>1-10
;***************************************************************************
; DEFINE SECTION
;***************************************************************************
Intensity_5F equ $F2A5 ; BIOS Intensity routine
Print_Str_d equ $F37A ; BIOS print ... |
programs/oeis/073/A073363.asm | jmorken/loda | 1 | 209593 | ; A073363: Nested floor product of n and fractions (k+1)/k for all k>0 (mod 6), divided by 6.
; 1,7,28,84,175,421,847,1288,1939,3780,5656,9247,15148,22099,25375,39676,54607,75208,90559,129360,166321,209832,240268,320719,399595,536956,672672,816733,906444,1115275,1321741,1595832,1908088,2323944
mov $1,1
mov $2,$0
add $... |
asm/giepy/generator.asm | boldowa/GIEPY | 8 | 209595 | <reponame>boldowa/GIEPY
@include
;-------------------------------------------------------------------------------
; GIEPY Generator code
;-------------------------------------------------------------------------------
pushpc
%org_assert_long2($02a8b4, 1acb,e938)
jsl SetGeneratorExBits
%org_assert_long2($02... |
Semaphores_Blinky-RTOS-3/FreeRTOSv9.0.0/FreeRTOS/Demo/msp430_CrossWorks/serial/serialASM.asm | ispanja/STM32F4_Discovery_basic_projects | 0 | 209596 | /*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... |
programs/oeis/073/A073720.asm | neoneye/loda | 22 | 209597 | <reponame>neoneye/loda
; A073720: Let b(1) = 1, b(k+1) = b(k) - k*trunc(k/b(k)+1), where trunc(x) = floor(x) if x>= 0, trunc(x) = ceiling(x) otherwise. Sequence a(n) gives the successive absolute values taken by b(k).
; 1,11,58,293,1468,7343,36718,183593,917968,4589843,22949218,114746093,573730468,2868652343,1434326171... |
programs/oeis/116/A116921.asm | neoneye/loda | 22 | 209598 | ; A116921: a(n) = largest integer <= n/2 which is coprime to n.
; 0,1,1,1,2,1,3,3,4,3,5,5,6,5,7,7,8,7,9,9,10,9,11,11,12,11,13,13,14,13,15,15,16,15,17,17,18,17,19,19,20,19,21,21,22,21,23,23,24,23,25,25,26,25,27,27,28,27,29,29,30,29,31,31,32,31,33,33,34,33,35,35,36,35,37,37
mov $1,$0
mul $0,2
lpb $1
sub $0,$1
sub $1... |
programs/oeis/158/A158736.asm | karttu/loda | 1 | 209599 | <gh_stars>1-10
; A158736: a(n) = 70*n^2 - 1.
; 69,279,629,1119,1749,2519,3429,4479,5669,6999,8469,10079,11829,13719,15749,17919,20229,22679,25269,27999,30869,33879,37029,40319,43749,47319,51029,54879,58869,62999,67269,71679,76229,80919,85749,90719,95829,101079,106469,111999,117669,123479,129429,135519,141749,148119,154... |
programs/oeis/316/A316322.asm | neoneye/loda | 22 | 209601 | ; A316322: Sum of piles of first n primes: a(n) = Sum(prime(i)*(2*i-1): 1<=i<=n).
; 2,11,36,85,184,327,548,833,1224,1775,2426,3277,4302,5463,6826,8469,10416,12551,15030,17799,20792,24189,27924,32107,36860,42011,47470,53355,59568,66235,73982,82235,91140,100453,110734,121455,132916,145141,158000,171667,186166,201189,2174... |
programs/oeis/059/A059986.asm | karttu/loda | 1 | 209602 | <filename>programs/oeis/059/A059986.asm
; A059986: Number of rods required to make a 3-D cube of side length n.
; 0,12,54,144,300,540,882,1344,1944,2700,3630,4752,6084,7644,9450,11520,13872,16524,19494,22800,26460,30492,34914,39744,45000,50700,56862,63504,70644,78300,86490,95232,104544,114444,124950,136080,147852,16028... |
User Input/user_input.asm | divshekhar/x86_64-ASM | 0 | 209604 | <reponame>divshekhar/x86_64-ASM
section .data
input_msg db "What's your name? "
salutation db "Hello, "
section .bss
name resb 16 ; 16 bytes reserved
section .text
global _start
_start:
call _askName
call _getName
call _salutation
c... |
oeis/271/A271636.asm | neoneye/loda-programs | 11 | 209605 | ; A271636: a(n) = 4*n*(4*n^2 + 3).
; 0,28,152,468,1072,2060,3528,5572,8288,11772,16120,21428,27792,35308,44072,54180,65728,78812,93528,109972,128240,148428,170632,194948,221472,250300,281528,315252,351568,390572,432360,477028,524672,575388,629272,686420,746928,810892,878408,949572,1024480,1103228,1185912,1272628,136347... |
src/sandbox/sandbox.asm | rsouza01/asm_stepbystep | 0 | 209606 | <filename>src/sandbox/sandbox.asm
section .data
Snippet: db "KANGAROO"
section .text
global _start
_start:
nop
; Put your experiments between the two nops...
mov ax,-42
movsx ebx,ax
; Put your experiments between the two nops...
nop
;------------------------------------------------------------------... |
nrom-beeper/src/strings.asm | Gumball2415/nes-scribbles | 0 | 209607 | <reponame>Gumball2415/nes-scribbles
.include "defines.inc"
.include "global.inc"
.segment "BANK0"
; end of string is important!!!
; else, textprinter loops forever
; strings should be multiples of 28 characters (excluding line feed)!
; ____________________________<-- up till here!!
string_test:
.byte " SAT... |
release/src/router/gmp/source/mpn/x86_64/atom/aors_n.asm | zhoutao0712/rtn11pb1 | 12 | 209609 | <reponame>zhoutao0712/rtn11pb1<filename>release/src/router/gmp/source/mpn/x86_64/atom/aors_n.asm
dnl X86-64 mpn_add_n, mpn_sub_n, optimized for Intel Atom.
dnl Copyright 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free softwar... |
code/nand2tetris/04/mult/multGoto.asm | cccbook/co | 9 | 209610 | // #include <stdio.h>
// int main() {
// int R0 = 3;
// int R1 = 5;
// => int R2 = 0;
@0
D=A
@R2
M=D
// while (R0 > 0) {
// => loop:
(loop)
// => if (R0 <= 0) goto exit1;
@R0
D=M
@exit1
D; JLE
// => R2 = R2 + R1;
@R1
D=M
@R2
M=D+M
// => R0 = R0 - 1;
@R0
M=M-1
// printf("R0=%d R1=%d R2=%d\n", ... |
tasks/call/print_func.asm | yds12/x86-roadmap | 15 | 209611 | <filename>tasks/call/print_func.asm
; This program calls a print function that wraps the write syscall.
;
; The calling convention for Linux x64 is that we have to pass parameters
; in this order:
; 1st parameter: RDI
; 2nd parameter: RSI
; 3rd parameter: RDX
; 4th parameter: RCX
; 5th parameter: R8
; 6th parameter: R9... |
programs/oeis/271/A271713.asm | karttu/loda | 1 | 209612 | <reponame>karttu/loda
; A271713: Numbers n such that 3*n - 5 is a square.
; 2,3,7,10,18,23,35,42,58,67,87,98,122,135,163,178,210,227,263,282,322,343,387,410,458,483,535,562,618,647,707,738,802,835,903,938,1010,1047,1123,1162,1242,1283,1367,1410,1498,1543,1635,1682,1778,1827,1927,1978,2082,2135,2243,2298
mul $0,6
add $... |
zombie.asm | ehsansalimian/xv6_changed | 0 | 209613 |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%... |
s2/music-original/93 - Boss.asm | Cancer52/flamedriver | 9 | 209614 | Boss_Header:
smpsHeaderStartSong 2, 1
smpsHeaderVoice Boss_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $E3
smpsHeaderDAC Boss_DAC
smpsHeaderFM Boss_FM1, $0C, $0A
smpsHeaderFM Boss_FM2, $0C, $06
smpsHeaderFM Boss_FM3, $0C, $08
smpsHeaderFM Boss_FM4, $00, $... |
Appl/GeoDraw/Document/documentDocument.asm | steakknife/pcgeos | 504 | 209615 | <reponame>steakknife/pcgeos<filename>Appl/GeoDraw/Document/documentDocument.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Document
FILE: documentDocument.asm
AUTHOR: <NAME>
... |
program.asm | gek169/Simple_ISA | 12 | 209616 | <gh_stars>10-100
#!/usr/bin/sisa16_asm -run
//Macros!
VAR#myComptimeVar#2#
//All the code before here was entirely meaningless. Ignore it.
#Compile this program using asm. ./asm -i program.asm -o program.bin
section 0
#fills 65536 bytes with zeroes.
#notice the region restriction....
asm_begin_region_restriction
... |
programs/oeis/051/A051834.asm | neoneye/loda | 22 | 209617 | ; A051834: Fibonacci(Pn-1) mod Pn, where Pn is the n-th prime.
; 1,1,3,1,0,1,1,0,1,0,0,1,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,0,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,0,1,0,0,0,1,1,0,0,1,0,1,1,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0,0,1,0
seq $0,79704 ; 2p^2 where p runs through the primes.
s... |
oeis/237/A237516.asm | neoneye/loda-programs | 11 | 209618 | <filename>oeis/237/A237516.asm
; A237516: Pyramidal centered square numbers.
; 1,15,91,325,861,1891,3655,6441,10585,16471,24531,35245,49141,66795,88831,115921,148785,188191,234955,289941,354061,428275,513591,611065,721801,846951,987715,1145341,1321125,1516411,1732591,1971105,2233441,2521135,2835771,3178981,3552445,3957... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_6284_1514.asm | ljhsiun2/medusa | 9 | 209619 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14d01, %rsi
lea addresses_WT_ht+0x111bd, %rdi
nop
nop
nop
nop
nop
sub $41970, %r12
mov $98, %rcx
rep movsq
nop
add %r9, %r9
lea addresses_WC_ht+0x1c8... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_909.asm | ljhsiun2/medusa | 9 | 209620 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x16228, %rdi
clflush (%rdi)
dec %r15
mov (%rdi), %esi
nop
nop
nop
nop
and $41766, %rbp
lea addresses_WC_ht+0x12c28, %rsi
lea addresses_normal_ht+0x16828, %rdi
cmp %rbp, %rbp
mov $3, %rcx
rep movsb
nop
nop... |
oeis/197/A197730.asm | neoneye/loda-programs | 11 | 209621 | ; A197730: Decimal expansion of 3*Pi/(4+Pi).
; Submitted by <NAME>(s2)
; 1,3,1,9,7,0,2,5,3,9,4,6,5,3,2,7,8,7,2,2,6,8,5,6,4,1,2,3,5,4,1,1,4,0,1,5,1,3,9,7,5,6,2,3,2,9,7,1,3,0,6,7,7,2,3,7,9,7,8,4,9,6,0,4,3,7,7,5,2,0,6,3,9,2,5,1,7,0,9,2,9,3,0,6,0,5,5,1,3,7,3,8,1,0,7,7,9,0,0
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $1,$3
... |
user/sh.asm | noyaviv/try | 0 | 209622 |
user/_sh: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <reading_from_fd>:
void panic(char*);
struct cmd *parsecmd(char*);
char* reading_from_fd(int); //NOY&HADAS
char* reading_from_fd(int fd){
0: 7139 addi sp,sp,-64
2: fc06 sd ra,56... |
programs/oeis/115/A115419.asm | karttu/loda | 1 | 209623 | <filename>programs/oeis/115/A115419.asm
; A115419: Numbers having a 1 in position 3 of their binary expansion.
; 8,9,10,11,12,13,14,15,24,25,26,27,28,29,30,31,40,41,42,43,44,45,46,47,56,57,58,59,60,61,62,63,72,73,74,75,76,77,78,79,88,89,90,91,92,93,94,95,104,105,106,107,108,109,110,111,120,121,122,123,124,125,126,127
... |
oeis/152/A152166.asm | neoneye/loda-programs | 11 | 209624 | ; A152166: a(2*n) = 2^n; a(2*n+1) = -(2^(n+1)).
; Submitted by <NAME>
; 1,-2,2,-4,4,-8,8,-16,16,-32,32,-64,64,-128,128,-256,256,-512,512,-1024,1024,-2048,2048,-4096,4096,-8192,8192,-16384,16384,-32768,32768,-65536,65536,-131072,131072,-262144,262144,-524288,524288,-1048576,1048576
mov $2,1
lpb $0
sub $0,1
div $1,2... |
Working Disassembly/Levels/MGZ/Misc Object Data/Map - Top Platform.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 209626 | dc.w word_3596A-Map_MGZTopPlatform
dc.w word_35978-Map_MGZTopPlatform
dc.w word_35986-Map_MGZTopPlatform
word_3596A: dc.w 2 ; DATA XREF: ROM:00035964o
dc.b $F4, $A, 0, 0, $FF, $E8
dc.b $F4, $A, 0, 9, 0, 0
word_35978: dc.w 2 ; DATA XREF: ROM:00035964o
dc.b $F4, $A, 0, $12, $FF, $E8
... |
libsrc/math/genmath/dadd.asm | grancier/z180 | 0 | 209627 | ;
; Z88dk Generic Floating Point Math Library
;
;
; $Id: dadd.asm,v 1.3 2016/06/21 21:16:49 dom Exp $:
SECTION code_fp
PUBLIC dadd
EXTERN fadd
.dadd
pop hl
pop de
pop ix
pop bc
push hl
jp fadd
|
books/pentest_with_shell/03/stack.nasm | argodev/learn | 0 | 209629 | <reponame>argodev/learn
global _start
section .text
_start:
mov rdx, 0x1234
push rdx
push 0x5678
pop rdi
pop rsi
mov rax, 60
mov rdi, 0
syscall
section .data
|
libsrc/stdio/pc88/hires_cls.asm | jpoikela/z88dk | 640 | 209630 | <gh_stars>100-1000
; Clear all 3 colour planes
;
SECTION code_clib
PUBLIC hires_cls
EXTERN l_push_di
EXTERN l_pop_ei
hires_cls:
call l_push_di
out ($5c),a ;Switch to green
call clear_plane
out ($5d),a ;Switch to red
call clear_plane
out ($5e),a ;Switch to blue
call clear_plane
out ($5f),a ;Back to ... |
maps/MahoganyGym.asm | Dev727/ancientplatinum | 28 | 209631 | object_const_def ; object_event constants
const MAHOGANYGYM_PRYCE
const MAHOGANYGYM_BUENA1
const MAHOGANYGYM_ROCKER1
const MAHOGANYGYM_BUENA2
const MAHOGANYGYM_ROCKER2
const MAHOGANYGYM_ROCKER3
const MAHOGANYGYM_GYM_GUY
MahoganyGym_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
MahoganyGymPryceScript:
... |
MIPS_CPU/P2/maze.asm | CPUmaker/ComputerOrganizationDesign | 1 | 209632 | <gh_stars>1-10
.data
matrix: .space 64
.macro scan_int(%dst)
li $v0, 5
syscall
move %dst, $v0
.end_macro
.macro push(%x)
sw %x, 0($sp)
subi $sp, $sp, 4
.end_macro
.macro pop(%x)
addi $sp, $sp, 4
lw %x, 0($sp)
.end_macro
.macro calc_addr(%dst, %row, %column, %rank)
multu %rank, %row
mflo %dst
addu %dst,... |
programs/oeis/276/A276872.asm | neoneye/loda | 22 | 209634 | ; A276872: Sums-complement of the Beatty sequence for sqrt(6).
; 1,6,11,16,21,28,33,38,43,50,55,60,65,70,77,82,87,92,99,104,109,114,119,126,131,136,141,148,153,158,163,168,175,180,185,190,197,202,207,212,217,224,229,234,239,246,251,256,261,268,273,278,283,288,295,300
mov $3,$0
mov $5,6
mov $6,$0
lpb $5
mov $0,2
mo... |
oeis/083/A083922.asm | neoneye/loda-programs | 11 | 209636 | <gh_stars>10-100
; A083922: Partial sums of A083921.
; Submitted by <NAME>(s4)
; 1,3,4,6,7,8,10,11,13,14,16,17,19,20,22,23,24,26,27,29,30,32,33,34,36,37,39,40,41,43,44,46,47,49,50,52,53,55,56,57,59,60,62,63,65,66,68,69,71,72,74,75,76,78,79,81,82,84,85,87,88,90,91,92,94,95,97,98,100,101
mov $2,$0
mov $4,$0
lpb $2
mov... |
Library/GrObj/Guardian/multTextGuardian.asm | steakknife/pcgeos | 504 | 209637 | <filename>Library/GrObj/Guardian/multTextGuardian.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GrObj
FILE: multTextGuardian.asm
AUTHOR: <NAME>, Jan 9, 1992
ROUTINES:
Name
-... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1025.asm | ljhsiun2/medusa | 9 | 209638 | <filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1025.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x10d33, %rsi
lea addresses_WC_ht+0x2933, %rdi
nop
nop
nop
and $29513, %r11
mov $55, %rcx
re... |
src/core/zeropage.asm | 1888games/golf | 1 | 209639 | <reponame>1888games/golf
; *****************
; *** CONSTANTS ***
; *****************
; 8 slots to use for subroutine parameters (or return values).
P0 = $02
P1 = $03
P2 = $04
P3 = $05
P4 = $06
P5 = $07
P6 = $08
P7 = $09
; 8 slots for use inside maths routines.
MATHS0 = $0a
MATHS1 = $0b
MATHS2 = $0c
MATHS3 = $0d
MATHS4... |
programs/oeis/292/A292642.asm | karttu/loda | 0 | 209641 | ; A292642: Rank of (5-r)*n when all the numbers (5-r)*j and (5+r)*k, where r = sqrt(2), j>=1, k>=1, are jointly ranked.
; 1,3,4,6,7,9,10,12,14,15,17,18,20,21,23,24,26,28,29,31,32,34,35,37,38,40,42,43,45,46,48,49,51,53,54,56,57,59,60,62,63,65,67,68,70,71,73,74,76,77,79,81,82,84,85,87,88,90,91,93,95,96,98,99,101,102,104,... |
source/Pas3.asm | bootrino/gpascal | 0 | 209643 | <reponame>bootrino/gpascal<gh_stars>0
************************************************
2 * PASCAL COMPILER
3 * for Commodore 64
4 * PART 3
5 * Authors: <NAME> & <NAME>
6 * SYM $9000
... |
unittests/ASM/H0F38/66_10.asm | cobalt2727/FEX | 628 | 209644 | <reponame>cobalt2727/FEX<gh_stars>100-1000
%ifdef CONFIG
{
"RegData": {
"XMM1": ["0x48510f254d2f5b7f", "0x2b5774313ad348ea"],
"XMM2": ["0x30a9567b1f6d776b", "0x673d5d0730c6762c"],
"XMM3": ["0x41159b533d5b4c09", "0xca64724c74043978"],
"XMM4": ["0x24426b4c72f2101c", "0x656780205f15c767"],
"XMM5": ["... |
programs/oeis/032/A032169.asm | neoneye/loda | 22 | 209646 | <filename>programs/oeis/032/A032169.asm
; A032169: Number of aperiodic necklaces of n beads of 2 colors, 11 of them black.
; 1,6,26,91,273,728,1768,3978,8398,16796,32065,58786,104006,178296,297160,482885,766935,1193010,1820910,2731365,4032015,5864749,8414640,11920740,16689036,23107896,31666376,42975796
add $0,11
bin $... |
programs/oeis/131/A131294.asm | jmorken/loda | 1 | 209647 | <filename>programs/oeis/131/A131294.asm<gh_stars>1-10
; A131294: a(n)=ds_3(a(n-1))+ds_3(a(n-2)), a(0)=0, a(1)=1; where ds_3=digital sum base 3.
; 0,1,1,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,... |
programs/oeis/074/A074534.asm | neoneye/loda | 22 | 209649 | <filename>programs/oeis/074/A074534.asm
; A074534: a(n) = 2^n + 4^n + 7^n.
; 3,13,69,415,2673,17863,121809,840055,5830593,40616263,283524849,1981523095,13858068513,96956127463,678491524689,4748635284535,33237225602433,232647693987463,1628482317649329,11399170063804375,79793365810288353,558550262131892263,39098386407732... |
data/g++_prime_ok.asm | cr-marcstevens/hashtable_mystery | 0 | 209651 |
./test_prime: file format elf64-x86-64
Disassembly of section .init:
Disassembly of section .plt:
Disassembly of section .text:
0000000000405a80 <hash_table_ok>:
405a80: f3 0f 1e fa endbr64
405a84: 41 56 push %r14
405a86: b8 06 00 00 00 mov $0x6,%eax
405a8b: 31 f... |
programs/oeis/147/A147810.asm | karttu/loda | 1 | 209652 | ; A147810: Half the number of divisors of n^2+1.
; 1,1,2,1,2,1,3,2,2,1,2,2,4,1,2,1,4,3,2,1,4,2,4,1,2,1,4,2,2,2,4,3,4,2,2,1,4,3,2,1,3,2,6,2,2,2,8,2,2,2,2,2,4,1,4,1,8,2,2,2,2,2,4,2,2,1,4,4,2,3,2,4,8,1,4,2,4,2,2,2,4,3,8,1,2,2,4,2,4,1,4,2,6,1,2,2,4,4,6,2,2,2,4,2,4,2,6,2,4,1,4,4,4,2,4,1,6,3,4,1,2,4,8,1,4,1,4,4,4,1,2,6,8,1,4... |
programs/oeis/206/A206915.asm | jmorken/loda | 1 | 209653 | <filename>programs/oeis/206/A206915.asm
; A206915: The index (in A006995) of the greatest binary palindrome <= n; also the 'lower inverse' of A006995.
; 1,2,2,3,3,4,4,5,5,6,6,6,6,6,6,7,7,8,8,8,8,9,9,9,9,9,9,10,10,10,10,11,11,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,15,15... |
unittests/ASM/CALL.asm | cobalt2727/FEX | 628 | 209654 | <filename>unittests/ASM/CALL.asm
%ifdef CONFIG
{
"Ignore": [],
"RegData": {
"RAX": "1",
"RBX": "2"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
jmp label
label:
mov rsp, 0xe8000000
; Test direct literal call
call function
; Move the absolute address of function2 in to rbx and call it... |
bfruntime/src/crt/start_x64.asm | chp-io/hypervisor | 1 | 209655 | ;
; Copyright (C) 2019 Assured Information Security, Inc.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify... |
src/unison/test/fast/Mips/speed/gcc.rtlanal.parms_set.asm | Patstrom/disUnison | 88 | 209656 | <gh_stars>10-100
.text
.abicalls
.section .mdebug.abi32,"",@progbits
.nan legacy
.file "gcc.rtlanal.parms_set.ll"
.text
.hidden parms_set
.globl parms_set
.align 2
.type parms_set,@function
.set nomicromips
.set nomips16
.ent parms_set
parms_set: # @parms_set
.frame $sp,0,$ra
... |
dv3/qlsd/hd_hold.asm | olifink/smsqe | 0 | 209657 | <filename>dv3/qlsd/hd_hold.asm
; DV3 QLSD Hold / Release controller 2018 <NAME>
;
; 2018-06-10 1.01 Mark card as recently used on release (MK)
section dv3
xdef hd_hold
xdef hd_release
include 'dev8_dv3_qlsd_keys'
include 'dev8_keys_sys'
include 'dev8_keys_err'
include 'dev8_mac_assert'
;+++
; This rou... |
libsrc/games/patch_beep_callee.asm | UnivEngineer/z88dk | 1 | 209658 | <reponame>UnivEngineer/z88dk<gh_stars>1-10
; $Id: patch_beep_callee.asm $
;
; 1 bit sound functions
;
; void patch_beep(int duration, int period, void *pattern);
;
IF !__CPU_GBZ80__ && !__CPU_INTEL__
SECTION code_clib
PUBLIC patch_beep_callee
PUBLIC _patch_beep_callee
EXTERN patch_beeper
EXTERN... |
audio/sfx/cry1a_1.asm | opiter09/ASM-Machina | 1 | 209659 | <filename>audio/sfx/cry1a_1.asm
SFX_Cry1A_1_Ch5:
duty_cycle_pattern 3, 3, 0, 0
square_note 6, 15, 7, 1856
square_note 12, 14, 6, 1860
square_note 6, 13, 5, 1872
square_note 4, 12, 3, 1888
square_note 3, 12, 3, 1920
square_note 8, 13, 1, 1952
sound_ret
SFX_Cry1A_1_Ch6:
duty_cycle_pattern 0, 0, 2, 2
square_no... |
Appl/Icon/Source/sourcePointer.asm | steakknife/pcgeos | 504 | 209660 | <reponame>steakknife/pcgeos<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(c) Copyright GeoWorks 1994. All rights reserved.
GEOWORKS CONFIDENTIAL
PROJECT: Icon editor
MODULE: Source
FILE: sourcePointer.asm
AUTHOR: <NAME>, Feb 5, 1993
ROUTINES:
N... |
next_level/demosrc/s_wheel.asm | viznut/demoscene | 14 | 209661 | <gh_stars>10-100
;,; lyrics_wetrytosave .withinpagefrom=lyrics
;,; <- lyrics
!byte $26,$01 ; WE
!byte $19,$1d,$20,$2a,$21 ; TRY
!byte $19,$1d,$26 ; TO
!byte $24,$23,$21,$26 ; SAVE
!byte $19,$1b,$61 ; PEO
!byte $19,$1b,$20,$47 ; PLE
!byte $24,$26,$30,$78 ; FROM
!byte $b1 ; (M)I
!byte $34,$a3 ... |
programs/oeis/186/A186381.asm | karttu/loda | 0 | 209662 | <gh_stars>0
; A186381: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f(i)=4i and g(j)=j(j+1)/2 (triangular number). Complement of A186382.
; 3,5,7,9,10,12,14,15,17,18,19,21,22,24,25,26,28,29,30,32,33,34,36,37,38,39,41,42,43,45,46,47,48,50,51,52,53,54,56,57,58,59,61,62,63,... |
programs/oeis/102/A102815.asm | neoneye/loda | 22 | 209663 | <reponame>neoneye/loda
; A102815: "False so far" sequence.
; 11,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,101
mov $3,$0
l... |
programs/oeis/155/A155051.asm | jmorken/loda | 1 | 209664 | ; A155051: Expansion of c(x^2)*(1+x)/(1-x), c(x) the g.f. of A000108.
; 1,2,3,4,6,8,13,18,32,46,88,130,262,394,823,1252,2682,4112,8974,13836,30632,47428,106214,165000,373012,581024,1323924,2066824,4741264,7415704,17110549,26805394,62163064,97520734,227165524,356810314,834449014,1312087714,3079350904,4846614094,11410734... |
programs/oeis/105/A105082.asm | karttu/loda | 0 | 209665 | <filename>programs/oeis/105/A105082.asm
; A105082: Expansion of (5+4x)/(1-2x-x^2).
; 5,14,33,80,193,466,1125,2716,6557,15830,38217,92264,222745,537754,1298253,3134260,7566773,18267806,44102385,106472576,257047537,620567650,1498182837,3616933324,8732049485,21081032294,50894114073,122869260440,296632634953,716134530346,1... |
programs/oeis/216/A216175.asm | neoneye/loda | 22 | 209666 | ; A216175: Number of all polyhedra (tetrahedra of any orientation and octahedra) of any size, formed when intersecting a regular tetrahedron by planes parallel to its sides and dividing its edges into n equal parts.
; 1,6,20,50,104,193,329,526,800,1169,1652,2271,3049,4011,5184,6597,8280,10266,12589,15285,18392,21950,26... |
data/pokemon/base_stats/charizard.asm | opiter09/ASM-Machina | 1 | 209668 | <gh_stars>1-10
db DEX_CHARIZARD ; pokedex id
db 78, 84, 78, 100, 85
; hp atk def spd spc
db FIRE, DRAGON ; type
db 45 ; catch rate
db 209 ; base exp
INCBIN "gfx/pokemon/front/charizard.pic", 0, 1 ; sprite dimensions
dw CharizardPicFront, CharizardPicBack
db SCRATCH, GROWL, EMBER, LEER ; level 1 l... |
target/analysis/Func00402660.asm | katahiromz/DecodersTatami | 3 | 209670 | <reponame>katahiromz/DecodersTatami
proc Func00402660 Label_00402660
attrs [[cdecl]]
# call_from : 00401C20 00401C80 00401DD0
# call_to : 00402490
# jump_to : 00402687
Label_00402660:
00402660: 31 C0 : xor eax, eax
00402662: 66 81 3D 00 00 40 00 4D 5A : cmp word [0x400000], 0x... |
libsrc/gfx/narrow/stencil_add_lineto.asm | ahjelm/z88dk | 640 | 209671 | <reponame>ahjelm/z88dk
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Trace a relative line in the stencil vectors
;
; <NAME> - 08/10/2009
;
;
; $Id: stencil_add_lineto.asm,v 1.8 2016-07-02 09:01:35 dom Exp $
;
;; void stencil_add_lineto(int x, int ... |
mc-sema/validator/x86/tests/MOVSDmr.asm | randolphwong/mcsema | 2 | 209672 | <filename>mc-sema/validator/x86/tests/MOVSDmr.asm<gh_stars>1-10
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; convert 0xbadf00d to a double precision float and store in xmm0
mov ecx, 0xbadf00d
cvtsi2sd xmm0, ecx
;TEST_BEGIN_RECORDING
; load badf00d (in double precision f... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_21829_1530.asm | ljhsiun2/medusa | 9 | 209673 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_21829_1530.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x15429, %r8
inc %rsi
mov $0x6162636465666768, %rdx
movq %rdx, %xmm0
movups %xmm0, (%r8)
nop
n... |
Code/contextSwitching.asm | zawster/Operating-Syatem | 1 | 209674 | <reponame>zawster/Operating-Syatem
;elementry multitasking of two thread
[org 0x0100]
jmp start
; ax,bx,ip,cs flag storage area
taskstatus: dw 0, 0, 0, 0, 0 ;task-0 regs
dw 0, 0, 0, 0, 0 ;task-1 regs
dw 0, 0, 0, 0, 0 ;task-2 regs
current: db 0 ;index of current chars
chars: db '\|/... |
engine/events/treemons.asm | genterz/pokecross | 28 | 209675 | TreeMonEncounter:
farcall StubbedTrainerRankings_TreeEncounters
xor a
ld [wTempWildMonSpecies], a
ld [wCurPartyLevel], a
ld hl, TreeMonMaps
call GetTreeMonSet
jr nc, .no_battle
call GetTreeMons
jr nc, .no_battle
call GetTreeMon
jr nc, .no_battle
ld a, BATTLETYPE_TREE
ld [wBattleType], a
ld a, 1
ld [... |
Working Disassembly/Levels/ICZ/Misc Object Data/Map - ICZ Tension Bridge.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 209676 | dc.w word_38FD2-Map_ICZTensionBridge
dc.w word_38FD2-Map_ICZTensionBridge
dc.w word_38FD2-Map_ICZTensionBridge
dc.w word_38FDA-Map_ICZTensionBridge
dc.w word_38FDA-Map_ICZTensionBridge
dc.w word_38FDA-Map_ICZTensionBridge
dc.w word_38FE2-Map_ICZTensionBridge
dc.w word_38FE2-Map_ICZTensionBridge
dc.w w... |
src/entities.asm | RandomAmbersky/sword-of-ianna-zx | 1 | 209677 | <reponame>RandomAmbersky/sword-of-ianna-zx
;Entity struct:
;- Sprite pointer, NULL if not active (2 bytes)
;- Script id (1 byte)
;- Script position (1 byte)
;- Energy (0-255) for objects.
;- 7 bytes for future expansion
; For player / enemies:
; - byte 5: player state (see definitions below)
; - byte 6: animation... |
navis/pikachu/pikachu_macros.asm | StraDaMa/mmbn6-pikachu-boss-battle | 7 | 209678 | <filename>navis/pikachu/pikachu_macros.asm
PIKACHU_SPRITE_CATEGORY equ 0x08
PIKACHU_SPRITE_INDEX equ 0x16
PIKACHU_OW_SPRITE_INDEX equ 0x34
PIKACHU_CHIP_ID equ 0x123
PIKACHU_NAVI_CHIP_ID equ 0x12
PIKACHU_ENEMY_ID equ 0x161
PIKACHU_AI_ID equ 0x11
PIKACHU_CHIP_OBJECT_ID equ 0x11
;Pikachu Animation Macros
PIKACHU_ANIMAT... |
libsrc/stdio_new/file/sprintf.asm | meesokim/z88dk | 8 | 209679 | <gh_stars>1-10
; int sprintf(char *s, const char *fmt,...)
; 05.2008 aralbrec
PUBLIC sprintf
EXTERN vsprintf_callee, stdio_varg, stdio_nextarg
EXTERN ASMDISP_VSPRINTF_CALLEE
.sprintf
call stdio_varg
push de
exx
pop hl ; hl = char *s
exx
call stdio_nextarg ; de = c... |
oeis/028/A028731.asm | neoneye/loda-programs | 11 | 209680 | <filename>oeis/028/A028731.asm
; A028731: Nonsquares mod 18.
; Submitted by <NAME>
; 2,3,5,6,8,11,12,14,15,17
mul $0,36
div $0,30
mul $0,3
div $0,2
add $0,2
|
libsrc/target/homelab/graphics/textpixl.asm | Frodevan/z88dk | 640 | 209681 | ;
;
; Support char table (pseudo graph symbols) for the ZX80
; Sequence: blank, top-left, top-right, top-half, bottom-left, left-half, etc..
;
; $Id: textpixl.asm,v 1.3 2016-06-23 19:53:27 dom Exp $
;
;
; .. X. .X XX
; .. .. .. ..
;
; .. X. .X XX
; X. X. X. X.
;
; .. X. .X XX
; .X .X... |
oeis/094/A094014.asm | neoneye/loda-programs | 11 | 209683 | <reponame>neoneye/loda-programs
; A094014: Expansion of (1-2*x)/(1-8*x^2).
; 1,-2,8,-16,64,-128,512,-1024,4096,-8192,32768,-65536,262144,-524288,2097152,-4194304,16777216,-33554432,134217728,-268435456,1073741824,-2147483648,8589934592,-17179869184,68719476736,-137438953472
mov $1,$0
div $1,2
mov $2,-2
pow $2,$0
mov $... |
qemu_mode/qemu-2.10.0/dtc/tests/base01.asm | braymar/afl | 60 | 209684 | <filename>qemu_mode/qemu-2.10.0/dtc/tests/base01.asm
/* autogenerated by dtc, do not edit */
#define OF_DT_HEADER 0xd00dfeed
#define OF_DT_BEGIN_NODE 0x1
#define OF_DT_END_NODE 0x2
#define OF_DT_PROP 0x3
#define OF_DT_END 0x9
.globl dt_blob_start
dt_blob_start:
_dt_blob_start:
.globl dt_header
dt_header:
_dt_header... |
programs/oeis/000/A000267.asm | jmorken/loda | 1 | 209685 | ; A000267: Integer part of square root of 4n+1.
; 1,2,3,3,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,9,10,10,10,10,10,11,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,13,13,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,1... |
programs/oeis/225/A225144.asm | jmorken/loda | 1 | 209686 | <filename>programs/oeis/225/A225144.asm<gh_stars>1-10
; A225144: a(n) = Sum_{i=n..2*n} i^2*(-1)^i.
; 0,3,11,18,42,45,93,84,164,135,255,198,366,273,497,360,648,459,819,570,1010,693,1221,828,1452,975,1703,1134,1974,1305,2265,1488,2576,1683,2907,1890,3258,2109,3629,2340,4020,2583,4431,2838,4862,3105,5313,3384,5784,3675,62... |
src/asm/test-b2.asm | p-a/kickass-cruncher-plugins | 15 | 209688 | .plugin "se.triad.kickass.CruncherPlugins"
.const KOALA_TEMPLATE = "C64FILE, Bitmap=$0000, ScreenRam=$1f40, ColorRam=$2328, BackgroundColor = $2710"
.var picture = LoadBinary("res/test.koa", KOALA_TEMPLATE)
.var music = LoadSid("res/Ruk - J.sid")
.pc = $0801
:BasicUpstart(start)
.pc = $0810
start:
sei
lda #... |
oeis/344/A344121.asm | neoneye/loda-programs | 11 | 209690 | ; A344121: a(n) is the multiplicative inverse of 24 (mod 7^n).
; Submitted by <NAME>
; 5,47,243,2301,11905,112747,583343,5524601,28583805,270705447,1400606443,13264566901,68629715705,649963778147,3362856069543,31848225129201,164779947407605,1560563031330847,8074217422972643,76467588535211501,395636653725659505,37469118... |
while.asm | forkkr/Assembly-Lab | 0 | 209691 | segment .data
fmt: dq "%lld ",10,0
ssfmt: dq "%lld",0
segment .bss
a: resq 255
b: resq 2
c: resq 2
d: resq 2
cn: resq 2
segment .text
global main
extern printf
extern scanf
main:
push RBP
xor rcx, rcx
mov [c] , rcx
xor rax , rax
mov rdi, ssfmt
mov rsi , cn
call scanf
ll:
mov rbx , rcx
mov rcx, [b]
mov r8 , [cn]
cmp... |
x86/src/32/direct.asm | sneakin/north | 2 | 209692 | <reponame>sneakin/north
defop direct_eval
pop ebx
pop eax
push ebx
jmp eax
defop dodirect ; the pointer in rax
push eval_ip
mov eval_ip, [eax+dict_entry_data]
jmp [d_direct_next+dict_entry_code]
defop direct_next
mov eax, [eval_ip]
add eval_ip, ptrsize
call eax
jmp [d_direct_next+dict_entry_code]
|
bios/msend.asm | minblock/msdos | 0 | 209694 | <reponame>minblock/msdos
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1981-1991
; * All Rights Reserved.
; */
page ,160
; Define end labels for each segment in
; IO.SYS. Make the segments paragraph aligned
; to save the tr... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_initSprites.asm | jpoikela/z88dk | 640 | 209696 | ; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_initSprites
EXTERN __SMS... |
lesson 02/src/boot.asm | yelouafi/aos | 3 | 209698 | <reponame>yelouafi/aos<filename>lesson 02/src/boot.asm<gh_stars>1-10
[BITS 16]
[ORG 0x0]
%define DESC_ENTRIES 3
%define DESC_LENGTH 8
start:
mov ax, 0x07c0
mov ds, ax
mov es, ax
mov ax, 0x9000
mov ss, ax
mov sp, 0xf000
mov si, msg
call prints
xor ax, ax
int 0x13
mov ax, 0x100 ... |
P6/data_P6_2/MDTest80.asm | alxzzhou/BUAA_CO_2020 | 1 | 209699 | <filename>P6/data_P6_2/MDTest80.asm<gh_stars>1-10
ori $ra,$ra,0xf
mfhi $3
addu $0,$4,$1
mult $6,$0
sll $5,$6,5
ori $2,$2,6805
addiu $4,$5,-20729
mthi $6
sll $6,$6,3
multu $0,$1
lui $1,48016
div $1,$ra
srav $5,$1,$1
sb $1,12($0)
lb $1,14($0)
sb $5,6($0)
addu $5,$4,$5
addiu $1,$4,6057
srav $4,$4,$1
div $5,$ra
addu $4,$4,... |
bootloader/source/print_16bit.asm | DotfileDev/veloxos | 0 | 209700 | <reponame>DotfileDev/veloxos
bits 16
print_16bit:
push ax
push si
mov ah, 0x0E
.loop:
lodsb
cmp al, 0x00
je .end
int 0x10
jmp .loop
.end:
pop si
pop ax
ret
|
astro_turret_code.asm | nealvis/astroblast | 0 | 209701 | <filename>astro_turret_code.asm<gh_stars>0
//////////////////////////////////////////////////////////////////////////////
// astro_turret_code.asm
// Copyright(c) 2021 <NAME>.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// The follo... |
tr3200_asm/hello.asm | Zardoz89/WaveAsm | 3 | 209702 | ; Hello World in TR3200 ASM
.ORG 0x100000 ; This a ROM image, so jumps need to know the real address
MOV %sp, 0x20000 ; Sets Stack Pointer to the end of the 128KiB RAM
; Code to find the first TDA plugged device
MOV %r10, 0x10FF00
begin_search_tda:
ADD %r10, %r10, 0x100
IFEQ %r10, 0x112100 ; N... |
programs/oeis/305/A305714.asm | neoneye/loda | 22 | 209703 | ; A305714: Number of finite sequences of positive integers of length n that are polydivisible and strictly pandigital.
; 1,1,1,2,0,0,2,0,1,1,1
sub $0,1
lpb $0
sub $0,2
mov $2,$0
bin $0,3
gcd $2,3
sub $2,2
lpe
mov $0,$2
add $0,1
|
oeis/142/A142853.asm | neoneye/loda-programs | 11 | 209704 | ; A142853: Primes congruent to 55 mod 61.
; Submitted by <NAME>(w3)
; 421,787,1031,1153,2129,2251,2617,2861,3593,4447,4691,4813,5179,6277,6521,7253,7741,8839,10181,10303,11279,12011,12377,12743,13109,13597,13841,13963,14207,14939,15061,15427,15671,17257,17623,17989,18233,19087,19697,19819,20063,20551,21283,21649,21893,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.