text stringlengths 1 1.05M |
|---|
; int fzx_write(struct fzx_state *fs, char *buf, uint16_t buflen)
SECTION code_font
SECTION code_font_fzx
PUBLIC fzx_write_callee
PUBLIC fzx0_write_callee
EXTERN l_neg_hl, asm_fzx_write
fzx_write_callee:
pop af
pop bc
pop de
pop ix
push af
fzx0_write_callee:
call asm_fzx_write
ret nc
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994. All rights reserved.
GEOWORKS CONFIDENTIAL
PROJECT: Pasta
MODULE: Fax
FILE: group3Manager.asm
AUTHOR: Jacob Gabrielson, Mar 10, 1993
ROUTINES:
Name Description
---- -----------
RE... |
extern m7_ippsAESEncryptCTR:function
extern n8_ippsAESEncryptCTR:function
extern y8_ippsAESEncryptCTR:function
extern e9_ippsAESEncryptCTR:function
extern l9_ippsAESEncryptCTR:function
extern n0_ippsAESEncryptCTR:function
extern k0_ippsAESEncryptCTR:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:funct... |
; A098486: Odd numbers with replacement of all prime factors 3 by 2.
; 1,2,5,7,4,11,13,10,17,19,14,23,25,8,29,31,22,35,37,26,41,43,20,47,49,34,53,55,38,59,61,28,65,67,46,71,73,50,77,79,16,83,85,58,89,91,62,95,97,44,101,103,70,107,109,74,113,115,52,119,121,82,125,127,86,131,133,40,137,139,94,143,145,98,149,151,68,155,15... |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_l_sdcc
PUBLIC __divslong_callee
EXTERN l_divs_32_32x32
__divslong_callee:
; signed 32-bit division
;
; enter : stack = divisor (32-bit), dividend (32-bit), ret
;
; exit : dehl = quotient
; dehl'= remainder
pop af
exx
... |
//
// Copyright (c) 2008-2013 the Urho3D project.
//
// 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, mod... |
; A065679: If n is even, a(n) = n^2 else a(n) = n.
; 0,1,4,3,16,5,36,7,64,9,100,11,144,13,196,15,256,17,324,19,400,21,484,23,576,25,676,27,784,29,900,31,1024,33,1156,35,1296,37,1444,39,1600,41,1764,43,1936,45,2116,47,2304,49,2500,51,2704,53,2916,55,3136,57,3364,59,3600,61,3844,63,4096,65,4356,67,4624,69,4900,71,5184,73... |
#include "Conta.h"
Conta::Conta(string n, int num, double salario, double saldo){
setNomeCliente(n);
setSalarioMensal(salario);
setNumeroConta(num);
setSaldo(saldo);
definirLimite();
}
void Conta::sacar(double valor){
if(v... |
SECTION code_clib
PUBLIC fputc_cons_native
PUBLIC _fputc_cons_native
fputc_cons_native:
_fputc_cons_native:
ld hl,2
add hl,sp
ld a,(hl)
cp 10
jr nz,continue
ld a,13
rst $10
ret
continue:
rst $10
ret
|
; A153485: Sum of all aliquot divisors of all positive integers <= n.
; 0,1,2,5,6,12,13,20,24,32,33,49,50,60,69,84,85,106,107,129,140,154,155,191,197,213,226,254,255,297,298,329,344,364,377,432,433,455,472,522,523,577,578,618,651,677,678,754,762,805,826,872,873,939,956,1020,1043,1075,1076,1184,1185,1219,1260,1323,1342,... |
user/_forktest: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <print>:
#define N 1000
void
print(const char *s)
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426 sd s1,8(sp)
... |
section .text
global load_segments
load_segments:
mov eax, [esp+16];
mov fs, ax;
mov eax, [esp+12];
mov gs, ax;
mov eax, [esp+8];
mov ds, ax;
mov es, ax;
mov ss, ax;
push dword [esp+4];
push far_jmp;
retf;
far_jmp: nop;
ret; |
; asm_utils_win32_x86.asm
; Functions optionally implemented in assembler
;
; Wireshark - Network traffic analyzer
; By Gerald Combs <gerald@wireshark.org>
; Copyright 1998 Gerald Combs
;
; This program is free software; you can redistribute it and/or
; modify it under the terms of the GNU General Public License
; as p... |
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN GFp_ia32cap_P
global GFp_sha512_block_data_order
ALIGN 16
GFp_sha512_block_data_order:
mov QWORD[8+rsp],rdi... |
SECTION "Intro", ROMX
Intro::
; Put your code here!
jr @
|
; void bit_beep_raw_di_callee(uint_16t num_cycles, uint16_t tone_period_T)
SECTION code_sound_bit
PUBLIC bit_beep_raw_di_callee
EXTERN asm_bit_beep_raw_di
bit_beep_raw_di_callee:
pop af
pop hl
pop de
push af
jp asm_bit_beep_raw_di
|
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 6.1.7600-sp0-windows-7 amd64
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG64 __stdcall NtUserGetThreadState( ULONG64 arg_01 );
NtUserGetThreadState PROC STDCALL
mov r10 , rcx
mov eax , 4096
;sysc... |
; A070358: a(n) = 3^n mod 32.
; 1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27,17,19,25,11,1,3,9,27
mov $1,1
mov $2,$0
lpb $2
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1a7de, %rsi
lea addresses_WC_ht+0x1b93e, %rdi
nop
nop
nop
nop
nop
sub $18726, %rdx
mov $15, %rcx
rep movsw
nop
nop
nop
and $1754, %r10
lea addresses_normal_ht+0x14206, %... |
global _start ; Entrypoint.
extern main ; Defined in the object file that this should link statically with.
section .text ; Code section.
_start:
; Call main with argc
mov rdi, [rsp] ; RSP stores the argument count.
mov rsi, rsp ; Location of argument vector - 8.
add rsi, 8 ; Real location of argument vector.
cal... |
; A176580: n^3+Largest square, (Largest square <= n^3).
; 0,2,12,52,128,246,412,667,996,1458,1961,2627,3409,4313,5448,6739,8192,9813,11608,13583,15921,18477,21257,24267,27513,31250,35000,39283,43856,48725,53896,59375,65529,71658,78508,85724,93312,101278,109628,118368
mov $2,$0
seq $2,93 ; a(n) = floor(n^(3/2)).
pow $2... |
/* Author: Zachary Kingston */
/* Modified by: Juan D. Hernandez */
#include <robowflex_library/log.h>
#include <robowflex_library/builder.h>
#include <robowflex_library/detail/fetch.h>
#include <robowflex_library/geometry.h>
#include <robowflex_library/io/broadcaster.h>
#include <robowflex_library/io/visualization.h>... |
#include "realty2.h"
void realty2::data_checker(std::string data)
{
if (data.size() > 8) { throw data_8(); }
}
void realty2::element_checker(const realty2::size_type &i) const { if (i >= size()) { throw no_element(); } }
realty2::realty2(std::string d, const std::string &N, const std::initializer_list<value_type>... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, University of Colorado, Boulder
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that t... |
// This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/06/max/Max.asm
// Computes M[2] = max(M[0], M[1]) where M stands for RAM
@0
D=M // D=first number
... |
_UpdateBattleHUDs:
farcall DrawPlayerHUD
ld hl, wPlayerHPPal
call SetHPPal
farcall DrawEnemyHUD
ld hl, wEnemyHPPal
call SetHPPal
farcall FinishBattleAnim
ret
|
; A239124: a(n) = 64*n - 11 for n >= 1. Third column of triangle A238476.
; 53,117,181,245,309,373,437,501,565,629,693,757,821,885,949,1013,1077,1141,1205,1269,1333,1397,1461,1525,1589,1653,1717,1781,1845,1909,1973,2037,2101,2165,2229,2293,2357,2421,2485,2549,2613,2677,2741,2805,2869,2933,2997,3061,3125,3189,3253,3317,... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args=""/>
<%docstring>
Invokes the syscall getuid. See 'man 2 getuid' for more information.
Arguments:
</%docstring>
${syscall('SYS_getuid')}
|
#include "nacl/aroma.h"
#include "nacl/gl_context.h"
#include "renderer.h"
#include "common.h"
namespace aroma {
void default_flush_callback(void *data, int32_t result) {
OpenGLContext* context = (OpenGLContext*)data;
context->render();
}
OpenGLContext::OpenGLContext(pp::Instance* instance) :
flushing(fals... |
; void *memswap(void *s1, void *s2, size_t n)
SECTION code_clib
SECTION code_string
PUBLIC memswap
EXTERN asm_memswap
memswap:
pop af
pop bc
pop de
pop hl
push hl
push de
push bc
push af
jp asm_memswap
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/aura/window.h"
#include <utility>
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/string_number_convers... |
// Copyright 2017, Additive Regularization of Topic Models.
#include "gtest/gtest.h"
#include "artm/utility/blas.h"
using namespace artm::utility; // NOLINT
// To run this particular test:
// artm_tests.exe --gtest_filter=Blas.*
TEST(Blas, Basic) {
float A[6] = { 1, 2, 3, 4, 5, 6 };
float A2[6] = { 0, 0, 0, 0,... |
; A154626: a(n) = 2^n*A001519(n).
; 1,2,8,40,208,1088,5696,29824,156160,817664,4281344,22417408,117379072,614604800,3218112512,16850255872,88229085184,461973487616,2418924584960,12665653559296,66318223015936,347246723858432,1818207451086848,9520257811087360
mov $1,1
lpb $0,1
sub $0,1
add $3,$1
add $2,$3
add $4... |
; FILE *fmemopen(void *buf, size_t size, const char *mode)
SECTION code_clib
SECTION code_stdio
PUBLIC _fmemopen
EXTERN l0_fmemopen_callee
_fmemopen:
pop af
pop hl
pop bc
pop de
push de
push bc
push hl
push af
jp l0_fmemopen_callee
|
GLOBAL system_write
GLOBAL system_read
GLOBAL console_clear
GLOBAL split_screen
GLOBAL set_screen
GLOBAL get_char
GLOBAL clear_line
GLOBAL get_time
GLOBAL timer_tick
GLOBAL set_kb_target
GLOBAL get_date
GLOBAL get_regs
GLOBAL get_memory
%macro pushStateSysCall 0
push rbx
push rc... |
#include <bits/stdc++.h>
using namespace std;
const int N = 100010;
int h[N], e[N], ne[N], idx;
int d[N], q[N]; // q是队列,d是距离
int n, m;
void add(int a, int b) {
e[idx] = b;
ne[idx] = h[a];
h[a] = idx++;
}
int bfs() {
int tt = 0, hh = 0;
memset(d, -1, sizeof d);
q[0] = 1;
d[1] = 0;
// ... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01
TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-fparam.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
$SG3569 DB '%f %f %f %s', 0aH, 00H
_DATA ENDS
PUBLIC _f... |
; Example for invoking the SNES CPU from SA-1 CPU.
sa1:
; Set 24-bit pointer to execute SNES code.
LDA.b #snes_code
STA $0183
LDA.b #snes_code>>8
STA $0184
LDA.b #snes_code>>16
STA $0185
; Invoke the SNES CPU.
LDA #$D0
STA $2209
; Wait until the SNES CPU finishes processing.
.wait
LDA $018A
BEQ .wait
... |
; A221907: 5^n + 5*n.
; 1,10,35,140,645,3150,15655,78160,390665,1953170,9765675,48828180,244140685,1220703190,6103515695,30517578200,152587890705,762939453210,3814697265715,19073486328220,95367431640725,476837158203230,2384185791015735,11920928955078240,59604644775390745,298023223876953250,1490116119384765755,745058059... |
; A209263: a(n) = 1 + 2*n^2 + 3*n^3 + 4*n^4 + 5*n^5.
; 1,15,257,1639,6369,18551,44785,94767,181889,323839,543201,868055,1332577,1977639,2851409,4009951,5517825,7448687,9885889,12923079,16664801,21227095,26738097,33338639,41182849,50438751,61288865,73930807,88577889,105459719,124822801,146931135,172066817,200530639,2326... |
; A214345: Interleaved reading of A073577 and A053755.
; 5,7,17,23,37,47,65,79,101,119,145,167,197,223,257,287,325,359,401,439,485,527,577,623,677,727,785,839,901,959,1025,1087,1157,1223,1297,1367,1445,1519,1601,1679,1765,1847,1937,2023,2117,2207,2305,2399,2501,2599,2705,2807,2917,3023,3137,3247,3365,3479,3601,3719,384... |
/*
Copyright (C) GridGain Systems. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
; A045929: Generalized Connell sequence C_{5,3}.
; 1,2,7,12,17,18,23,28,33,38,43,48,49,54,59,64,69,74,79,84,89,94,95,100,105,110,115,120,125,130,135,140,145,150,155,156,161,166,171,176,181,186,191,196,201,206,211,216,221,226,231,232,237,242,247,252,257,262,267,272,277
mov $2,$0
mov $3,$0
add $3,$0
mov $4,$0
add $4,$0
... |
/*
*
* Copyright (c) 2021 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; ;;
; RFID Emulator - RF LIBRARY ... |
/*
* api_fam_gather.cpp
* Copyright (c) 2020 Hewlett Packard Enterprise Development, LP. All rights
* reserved. Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above ... |
; A084232: RMS values associated with A084231.
; 1,195,37829,7338631,1423656585,276182038859,53577891882061,10393834843080975,2016350381665827089,391161580208327374291,75883330210033844785365,14720974899166357560986519,2855793247108063332986599321,554009168964065120241839281755,107474922985781525263583834061149,2084958... |
#include <memory>
#include <iostream>
#include <algorithm>
#include <chrono>
#include <random>
//Gradient_projection method with Bertsekas' armijo-like step size
#include "grad_proj_method/gradient_projection_method.h"
//This funtion is used to generate a random initial configuration of points on the n-sphere
std::vec... |
#include <algorithm>
#include "aggregators.hpp"
using namespace std;
int64_t parse_frequency(const string& frequency_str) {
char unit = frequency_str[frequency_str.size() - 1];
int64_t qty = std::stol(frequency_str.substr(0, frequency_str.size() - 1));
int64_t multiplier = 0;
switch (unit) {
c... |
/*
Copyright Oliver Kowalke 2009.
Copyright Thomas Sailer 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/***************************************************... |
VSize = 085h
Code Segment
Assume CS:Code
Org 600h
Bytes db 0CDh,20h,90h,90h
Start: mov si, 0100h
mov bx, offset Int21
mov cx, 0050h
mov di, si
add si, [si+2]
push di
movsw
movsw
mov es, cx
cmpsb
je StartFile
dec si
dec di
rep movsw
mov es, cx
xchg ax, bx
xchg ax, cx
Loop0: xch... |
; basic procedures for IO and other life stuff
format ELF
include 'macro.inc'
section '.text' executable
Use32
demo_cdecl:
push ebp
mov ebp, esp
; [ebp+8] - first arg
; [ebp+12] - second arg
; ...
; [ebp+4*(i+1)] - i-th arg
pop ebp
ret
; # output
public write
; write(src, x, y, color) // null-terminated s... |
; A017198: a(n) = (9*n + 3)^2.
; 9,144,441,900,1521,2304,3249,4356,5625,7056,8649,10404,12321,14400,16641,19044,21609,24336,27225,30276,33489,36864,40401,44100,47961,51984,56169,60516,65025,69696,74529,79524,84681,90000,95481,101124,106929,112896,119025,125316,131769,138384,145161,152100,159201,166464,173889,181476,189... |
SFX_Collision_1_Ch1:
duty 2
unknownsfx0x10 90
unknownsfx0x20 15, 241, 0, 3
unknownsfx0x10 8
endchannel
|
;This is free and unencumbered software released into the public domain.
;Anyone is free to copy, modify, publish, use, compile, sell, or
;distribute this software, either in source code form or as a compiled
;binary, for any purpose, commercial or non-commercial, and by any
;means.
;In jurisdictions that recognize c... |
; A226122: Expansion of (1+2*x+x^2+x^3+2*x^4+x^5)/(1-2*x^3+x^6).
; 1,2,1,3,6,3,5,10,5,7,14,7,9,18,9,11,22,11,13,26,13,15,30,15,17,34,17,19,38,19,21,42,21,23,46,23,25,50,25,27,54,27,29,58,29,31,62,31,33,66,33,35,70,35,37,74,37,39,78,39
mov $3,2
mov $4,$0
lpb $3,1
mov $0,$4
sub $3,1
add $0,$3
sub $0,1
cal $0,2... |
XItemStats:
; item, stat
db X_ATTACK, ATTACK
db X_DEFEND, DEFENSE
db X_SPEED, SPEED
db X_SPECIAL, SP_ATTACK
|
; A128789: n^3*2^n.
; 0,2,32,216,1024,4000,13824,43904,131072,373248,1024000,2725888,7077888,17997824,44957696,110592000,268435456,643956736,1528823808,3596091392,8388608000,19421724672,44660948992,102064193536,231928233984,524288000000,1179505393664,2641807540224,5892695130112,13093744672768,28991029248000,63975685357... |
#!/usr/local/bin/zasm -o original/
; ================================================================
; Example file for target 'z80'
; Emulator snapshot format for Sinclair computers
; Copyright (c) Günter Woigk 1994 - 2015
; mailto:kio@little-bat.de
; =======================================================... |
/*
* Copyright 2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
; A219675: Starting with a(0)=0, a(n) = 1 + the sum of the digital sums of a(0) through a(n-1).
; Submitted by Christian Krause
; 0,1,2,4,8,16,23,28,38,49,62,70,77,91,101,103,107,115,122,127,137,148,161,169,185,199,218,229,242,250,257,271,281,292,305,313,320,325,335,346,359,376,392,406,416,427,440,448,464,478,497,517,5... |
/****************************************************************************
* ==> PSS_FLFDataFeed -----------------------------------------------------*
****************************************************************************
* Description : Provides a class used to import additional information *
* ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x286d, %rbx
nop
nop
nop
nop
nop
xor $51480, %r11
movb $0x61, (%rbx)
nop
nop
nop
nop
nop
add $32268, %rdx
lea addresses_WT_ht+0x6d0f, %r8
and %r11, %r11
and $0xffffffffffff... |
// Include MySLAM
#include "common_include.h"
#include "VelodyneCapture.h"
#include "frame.h"
#include "lidar_odometry.h"
#include "preprocess.h"
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <fstream>
#include <sstream>
#include <string>
#include <opencv2/opencv.hpp>
#include <o... |
#include <bits/stdc++.h>
using namespace std;
// Function to perform the partition
// around the pivot element
void partition(int arr[], int N,
int brr[], int M,
int Pivot)
{
// Stores index of each element
// of the array, arr[]
int l = N - 1;
// Stores index of each e... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
; A256817: Number of length n+2 0..1 arrays with at most two downsteps in every n consecutive neighbor pairs.
; 8,16,32,64,124,229,402,673,1080,1670,2500,3638,5164,7171,9766,13071,17224,22380,28712,36412,45692,56785,69946,85453,103608,124738,149196,177362,209644,246479,288334,335707,389128,449160,516400,591480,675068,7... |
; void sms_psg_silence(void)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_arch
PUBLIC asm_sms_psg_silence
asm_sms_psg_silence:
; uses : f, bc, hl
ld hl,table_silence
ld c,__IO_PSG
ld b,4
otir
ret
table_silence:
defb 0x9f, 0xbf, 0xdf, 0xff
|
C arm/memxor3.asm
ifelse(<
Copyright (C) 2013, 2015 Niels Möller
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software Foundation; either vers... |
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
segment .text
align 4
f:
push ebp
mov ebp, esp
sub esp, 4
push dword 3
lea eax, [ebp+-4]
push eax
pop ecx
pop eax
mov [ecx], eax
lea eax, [ebp+-4]
push eax
pop eax
push dword [eax]
call printi
add esp, 4
leave
ret
align 4
global _main:function
_main:
align 4
xpl:
push ebp
mov ebp, esp
sub esp, 4
pu... |
;****************************************************************
processor 16F887
include <P16F887.INC>
;Variables para DELAY
val1 equ 0x30
val2 equ 0x31
org 0 ;Vector de RESET
goto INICIO
org 5 ;Inicio del Programa
;configuraón de puertos
IN... |
/***************************************************************************
# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of sourc... |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; A022108: Fibonacci sequence beginning 1, 18.
; Submitted by Jamie Morken(s4)
; 1,18,19,37,56,93,149,242,391,633,1024,1657,2681,4338,7019,11357,18376,29733,48109,77842,125951,203793,329744,533537,863281,1396818,2260099,3656917,5917016,9573933,15490949
mov $1,1
mov $2,17
lpb $0
sub $0,1
mov $3,$2
mov $2,$1
add... |
; A018911: Expansion of 1/((1-4x)(1-5x)(1-9x)).
; Submitted by Jamie Morken(s2)
; 1,18,223,2376,23485,222894,2067787,18935172,172107529,1557684810,14063797111,126801537408,1142367430933,10287141958566,92613721463395,833671786093884,7503791834428897,67537872487648962,607859650997261839,5470831126895369400,49237952581170... |
/*
* (C) Copyright 2013 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an intergo... |
// locking_policy.hpp
/*
* Copyright (c) 2007 Leigh Johnston.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyr... |
INCLUDE "header.inc"
SECTION "INT40", ROM0[$40]
jp VBlankInterrupt
SECTION "INT48", ROM0[$48]
reti
SECTION "Header", ROM0[$100]
jp Entry
ds 77
SECTION "Code", ROM0
Entry:
.initRAM
xor a
ldh [FrameCount], a
ldh [altBuffer], a
ld a, 1
ldh [bankIndex], a
.i... |
;
;This is free and unencumbered software released into the public domain.
;
;Anyone is free to copy, modify, publish, use, compile, sell, or
;distribute this software, either in source code form or as a compiled
;binary, for any purpose, commercial or non-commercial, and by any
;means.
;
;In jurisdictions that... |
.thumb
@lockpick ability check
@r0 holds character pointer
@result returned in r0
push {r14}
ldr r1, [r0, #0x4]
ldr r0, [r0]
ldr r0, [r0, #0x28]
ldr r1, [r1, #0x28]
orr r0, r1
mov r1, #0x8
and r0, r1
pop {r1}
bx r1
.align
|
@256
D=A
@SP
M=D
@RET_A0D9087F80
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
D=M
@5
D=D-A
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
(RET_A0D9087F80)
//Class1
(Class1.set)
@ARG
D=M
@0
A=D+A
D=M
@SP
A=M
M=D
@S... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>pciconfig_iobase(which, bus, devfn) -> str
Invokes the syscall pciconfig_iobase.
See 'man 2 pciconfig_iobase' for more information.
Arguments:
which(long): which
bus(unsigned): bus
devfn(uns... |
;------------------------------------------------------------------------------
; GSHandlerCheck.asm
; MS_CHANGE_?
;------------------------------------------------------------------------------
.code
;------------------------------------------------------------------------------
; VOID
; EFIAPI
; __GSHandlerCheck... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Mouse Driver - CuteMouse based with wheel support
FILE: ctm.asm
AUTHOR: Adam de Boor, Jul 20, 1989
MeyerK, 09/2021
ROUTINES:
Name Descriptio... |
; A313837: Coordination sequence Gal.6.618.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,16,20,26,31,36,42,46,52,57,62,67,72,78,82,88,93,98,104,108,114,119,124,129,134,140,144,150,155,160,166,170,176,181,186,191,196,202,20... |
;;
;; Copyright (c) 2012-2018, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
.gba
.create "output.bin",0
.if 1==1
ldr r1,=0x123
.pool
.endif
.if 0==1
ldr r1,=0x456
.pool
.endif
.if 1==1
ldr r1,=0x789
.pool
.endif
.close
|
// Copyright (c) 2012-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientversion.h"
#include "tinyformat.h"
#include <string>
/**
* Name of client reported in the 'version' messa... |
; $Id: bootsector2-cpu-db-loop.asm $
;; @file
; Bootsector test for debug exception loop.
;
; Recommended (but not necessary):
; VBoxManage setextradata bs-cpu-db-loop VBoxInternal/Devices/VMMDev/0/Config/TestingEnabled 1
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Sour... |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi
5: 53 ... |
/*******************************************************************\
Module: Symbolic Execution
Author: Daniel Kroening, kroening@kroening.com
\*******************************************************************/
/// \file
/// Symbolic Execution
#include "goto_symex_state.h"
#include "goto_symex_is_constant.h"
#... |
/*
* Copyright (C) 2008-2012, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
/**
** \file parser/metava... |
;
; Copyright (c) 2013 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
/*
*/
#include<iostream>
#include<vector>
#include<string>
#include<climits>
#include<math.h>
#include<stack>
#include<list>
#include<algorithm>
#include<queue>
#include<map>
#include<set>
#include <iomanip>
#include<utility>
#define int int64_t
#define vi vector<int>
#define vii vector<pair<int,int>>
#define vs ve... |
.686p
.mmx
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
include ..\..\lib\gfp.inc
public tempInt1
public tempInt2
public tempInt3
public _A
public _B
public _P
public _PC
public _N
public _NC
public KEY_BASEPOINT
.data
; RandomCurve1-P128-WiteG
; y^2 = x^3 - 3*x + 103744651967215... |
mov r1, $(signed(-3))
mov r2, $(signed(-2))
s06 r1, r2
eq r1, 3
add r1, .0
out r1
mov r1, $(signed(-3))
mov r2, $(signed(2))
s06 r1, r2
eq r1, $(0xB)
add r1, .0
out r1
mov r1, $(signed(3))
mov r2, $(signed(-2))
s06 r1, r2
eq r1, $(0xA)
add r1, .0
out r1
mov r1, $(signed(3))
mov r2, $(signed(2))
s06 r1, r2
eq r1... |
section .data
ln db 10, 13
lonln equ 2
section .bss
rpta resb 1
section .text
global _start
_start:
; rotar a la izquierda
mov bl, 128 ; binario = 10000000
rol bl, 1 ; solo mueve 1 bit = 000000001
add bl, 48 ; 49 = 1 ascii
mov [rpta], bl
; Imprimir rpta
mov eax, 4
mov ebx, 1
mov ecx, rpta
mov edx, 1 ; numero de byt... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="path"/>
<%docstring>
Invokes the syscall chdir. See 'man 2 chdir' for more information.
Arguments:
path(char): path
</%docstring>
${syscall('SYS_chdir', path)}
|
; A010737: a(n) = 2*a(n-2) + 1.
; Submitted by Christian Krause
; 4,6,9,13,19,27,39,55,79,111,159,223,319,447,639,895,1279,1791,2559,3583,5119,7167,10239,14335,20479,28671,40959,57343,81919,114687,163839,229375,327679,458751,655359
mov $1,2
mul $1,$0
mov $2,$1
add $1,1
mod $1,4
mov $3,$2
lpb $3
mul $1,2
add $1,4
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.